get3DENEntityID: Difference between revisions
m (1.56) |
(Added 2.22 changes) |
||
| (42 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3|= | |game1= arma3 | ||
|version1= 1.56 | |||
| | |gr1= Eden Editor | ||
| Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. | |descr= Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. ´ | ||
| | {{Feature|informative|Since {{GVI|arma3|2.22}} this command also returns the IDs of [[Eden Entity|Eden Entities]] of type Object, Trigger, Group and Logic during [[is3DENPreview|preview]].}} | ||
| | |||
| | |s1= [[get3DENEntityID]] entity | ||
| [[ | |p1= entity: [[Eden Entity]] or [[Eden ID]] | ||
| | |r1= [[Number]] - [[Eden ID]] If ID is not available, -1 is returned | ||
|x1= <sqf>myID = get3DENEntityID player;</sqf> | |||
</ | |||
|seealso= [[get3DENEntity]] | |||
}} | |||
[[ | |||
Latest revision as of 15:50, 20 March 2026
Description
- Description:
- Returns unique index of an Eden Entity. This number remains the same even after saving and loading the scenario. ´
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENEntityID entity
- Parameters:
- entity: Eden Entity or Eden ID
- Return Value:
- Number - Eden ID If ID is not available, -1 is returned
Examples
- Example 1:
Additional Information
- See also:
- get3DENEntity
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note