getModelInfo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.49|= Game version _____________...") |
Killzone Kid (talk | contribs) (extended in 1.51.131918) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns object's model info in format [modelName, modelPath]. |= Description | | Returns object's model info in format [modelName, modelPath].<br> | ||
Since Arma 3 v1.51.131918, command returns [modelName, modelPath, hasSkeleton]. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 15: | ||
| p1= object: [[Object]] | | p1= object: [[Object]] | ||
| [[Array]] - [modelName, modelPath]|= RETURNVALUE | | [[Array]] - [modelName, modelPath, hasSkeleton] |= RETURNVALUE | ||
Revision as of 16:49, 18 August 2015
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