get3DENEntityID: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=") |
(return value and note) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. |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= | ||
|p1= entity: [[Eden Entity]] or [[Eden ID]] |PARAMETER1= | |p1= entity: [[Eden Entity]] or [[Eden ID]] |PARAMETER1= | ||
| [[Number]] - [[Eden ID]]|RETURNVALUE= | | [[Number]] - [[Eden ID]] If ID is not available, -1 is returned|RETURNVALUE= | ||
|x1= <code>myID = [[get3DENEntityID]] [[player]]</code>|EXAMPLE1= | |x1= <code>myID = [[get3DENEntityID]] [[player]]</code>|EXAMPLE1= |
Revision as of 13:34, 5 November 2020
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