Page MenuHomeFeedback Tracker

[Feature Request] New command: getObjectID
Feedback, NormalPublic

Description

According to my tests the ID of terrain objects is always constant (even after game/mission restart), which enables users to find a certain terrain object directly using the alt syntax of nearestObject command:

_pos nearestObject _id

having a command that returns this ID directly without any awkward workaround would be extremely useful:

_id = getObjectID _obj

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Leopard20 updated the task description. (Show Details)Mar 16 2022, 5:54 AM
Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Mar 16 2022, 6:40 AM

getObjectId rev.149074

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Mar 16 2022, 11:46 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.