get3DENEntityID: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ") |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
Line 11: | Line 11: | ||
|p1= entity: [[Eden Entity]] or [[Eden ID]] | |p1= entity: [[Eden Entity]] or [[Eden ID]] | ||
|r1=[[Number]] - [[Eden ID]] If ID is not available, -1 is returned | |r1= [[Number]] - [[Eden ID]] If ID is not available, -1 is returned | ||
|x1= <code>myID = [[get3DENEntityID]] [[player]]</code> | |x1= <code>myID = [[get3DENEntityID]] [[player]]</code> |
Revision as of 22:37, 7 August 2021
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:
myID = get3DENEntityID player
Additional Information
- See also:
- get3DENEntity
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