get3DENEntityID: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. {{Informative|This ID is only available in [[Eden Editor]].}} | | Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. {{Informative|This ID is only available in [[Eden Editor]].}} | ||
| '''get3DENEntityID''' entity | | '''get3DENEntityID''' entity | ||
|p1= entity: [[Eden Entity]] or [[Eden ID]] | |p1= entity: [[Eden Entity]] or [[Eden ID]] | ||
| [[Number]] - [[Eden ID]] If ID is not available, -1 is returned | | [[Number]] - [[Eden ID]] If ID is not available, -1 is returned | ||
|x1= <code>myID = [[get3DENEntityID]] [[player]]</code> | |x1= <code>myID = [[get3DENEntityID]] [[player]]</code> | ||
| [[get3DENEntity]] | | [[get3DENEntity]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:37, 18 January 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
Notes