getObjectID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


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


Line 17: Line 16:
|x1= <sqf>getObjectID _tree;</sqf>
|x1= <sqf>getObjectID _tree;</sqf>


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

Latest revision as of 19: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