get3DENEntityID: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
|arma3|Game name= | |arma3|Game name= | ||
Line 7: | Line 6: | ||
|gr1= Eden Editor |GROUP1= | |gr1= Eden Editor |GROUP1= | ||
| 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]].}}|DESCRIPTION= | | 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]].}}|DESCRIPTION= | ||
| '''get3DENEntityID''' entity |SYNTAX= | | '''get3DENEntityID''' entity |SYNTAX= | ||
Line 17: | Line 14: | ||
|x1= <code>myID = [[get3DENEntityID]] [[player]]</code>|EXAMPLE1= | |x1= <code>myID = [[get3DENEntityID]] [[player]]</code>|EXAMPLE1= | ||
| [[get3DENEntity]] |SEEALSO= | | [[get3DENEntity]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:21, 17 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