getModelInfo

From Bohemia Interactive Community
Revision as of 00:45, 9 September 2017 by AgentRevolution (talk | contribs) (See also)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.501.50
Hover & click on the images for descriptions

Description

Description:
Returns object's model info in format [modelName, modelPath, hasSkeleton]. Model path is suitable for use with createSimpleObject command.

Syntax

Syntax:
getModelInfo object
Parameters:
object: Object
Return Value:
Array - [modelName, modelPath, hasSkeleton]

Examples

Example 1:
_modelInfo = getModelInfo player;
Example 2:
_modelInfo = getModelInfo cursorObject;

Additional Information

See also:
cursorObjectcursorTargetcreateSimpleObjectgetObjectTypegetObjectTexturesallMissionObjectssetObjectViewDistancesetObjectViewDistanceobjectParentobject

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section