getObjectID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |branch= dev |version1= 2.10 |gr1= Map |descr= Returns Visitor ID of the given object. Visitor IDs of static map objects can change if map i...")
 
m (Text replacement - "\|branch= *dev " to "")
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|branch= dev
|version1= 2.10
|version1= 2.10


Line 15: Line 14:
|r1= [[String]] - Visitor ID
|r1= [[String]] - Visitor ID


|x1= <code>[[getObjectID]] _tree;</code>
|x1= <sqf>getObjectID _tree;</sqf>


|seealso= [[allUsers]] [[getUserInfo]] [[createMarker]] [[createMarkerLocal]] [[getPlayerID]]
|seealso= [[allUsers]] [[getUserInfo]] [[createMarker]] [[createMarkerLocal]] [[getPlayerID]]
}}
}}

Latest revision as of 14:23, 23 August 2022

Hover & click on the images for description

Description

Description:
Returns Visitor ID of the given object. Visitor IDs of static map objects can change if map is in development and updated with new static objects.
Groups:
Map

Syntax

Syntax:
getObjectID object
Parameters:
object: Object
Return Value:
String - Visitor ID

Examples

Example 1:
getObjectID _tree;

Additional Information

See also:
allUsers getUserInfo createMarker createMarkerLocal getPlayerID

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