getModelInfo

From Bohemia Interactive Community
Revision as of 16:49, 18 August 2015 by Killzone Kid (talk | contribs) (extended in 1.51.131918)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.49|1.49]]
Hover & click on the images for description

Description

Description:
Returns object's model info in format [modelName, modelPath].
Since Arma 3 v1.51.131918, command returns [modelName, modelPath, hasSkeleton].
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_modelInfo = getModelInfo player;

Additional Information

See also:
getObjectTypeallMissionObjectssetObjectViewDistancesetObjectViewDistanceobjectParentobject

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3dev version 1.49]][[ Category: arma3dev: New Scripting Commands | GETMODELINFO]][[ Category: arma3dev: Scripting Commands | GETMODELINFO]]

Notes

Bottom Section