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 - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
Line 15: Line 15:
|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]]
}}
}}

Revision as of 13:17, 5 May 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.10.

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