getObjectType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 18: Line 18:
| p1= object: [[Object]]
| p1= object: [[Object]]


| [[Number]] - Object type
|r1=[[Number]] - Object type


|x1= <code>_objType = [[getObjectType]] [[player]];</code>
|x1= <code>_objType = [[getObjectType]] [[player]];</code>

Revision as of 21:47, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
Return Value:
Number - Object type

Examples

Example 1:
_objType = getObjectType player;
Example 2:
_objType = getObjectType cursorObject;

Additional Information

See also:
getObjectFOVcursorObjectcursorTargetcreateSimpleObjectallMissionObjectssetObjectViewDistancegetObjectViewDistanceobjectParentobject

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