DCS func getDrawArgumentValue
From DCS World Wiki - Hoggitworld.com
Revision as of 00:40, 19 January 2019 by Grimes (talk | contribs) (Created page with "{{Template:dcs_funcs |fName= getDrawArgumentValue |vNum= 1.2.0 |par1= Unit |par2= Static Object |par3= |par4= |desc= Re...")
Jump to:navigation, search
| Envrioment: | Mission Scripting | ||
| Function: | getDrawArgumentValue | Added with: 1.2.0 | |
| Member Of: | Unit, Static Object | ||
| Syntax: | number Unit.getDrawArgumentValue(Class Self ) | ||
| Description: | Returns the current value for an animation argument on the external model of the given object. Each model animation has an id tied to with different values representing different states of the model. Animation arguments can be figured out by opening the respective 3d model in the modelviewer.
| ||
| Return Value: | number | ||
| Return Example: | -1 to +1 | ||
| Examples: | |||
| Related Functions: | Unit Functions: isActive, getPlayerName, getID, getNumber, getCategoryEx, getObjectID, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission, getDescentCapacity
Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir | ||
| Notes: | |||
