Difference between revisions of "getModelInfo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "|= Game version" to "|Game version=")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3|= Game name
+
| arma3|Game name=
  
|1.50|= Game version
+
|1.50|Game version=
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns object's model info in format [modelName, modelPath, hasSkeleton]. Model path is suitable for use with [[createSimpleObject]] command. |= Description
+
| Returns object's model info in format [modelName, modelPath, hasSkeleton]. Model path is suitable for use with [[createSimpleObject]] command. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''getModelInfo''' object|= Syntax
+
| '''getModelInfo''' object|SYNTAX=
 
| p1= object: [[Object]]
 
| p1= object: [[Object]]
  

Latest revision as of 20:24, 31 August 2019

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