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...")
 
No edit summary
 
(2 intermediate revisions by one other 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]] [[nearestObject]]
}}
}}

Latest revision as of 20:20, 19 July 2024

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 nearestObject

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