get3DENEntityID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|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]].}}|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]].}}


| '''get3DENEntityID''' entity |SYNTAX=
| '''get3DENEntityID''' entity
|p1= entity: [[Eden Entity]] or [[Eden ID]] |PARAMETER1=
|p1= entity: [[Eden Entity]] or [[Eden ID]]
| [[Number]] - [[Eden ID]] If ID is not available, -1 is returned|RETURNVALUE=
| [[Number]] - [[Eden ID]] If ID is not available, -1 is returned


|x1= <code>myID = [[get3DENEntityID]] [[player]]</code>|EXAMPLE1=
|x1= <code>myID = [[get3DENEntityID]] [[player]]</code>


| [[get3DENEntity]] |SEEALSO=
| [[get3DENEntity]]
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
}}
}}

Revision as of 01:37, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns unique index of an Eden Entity. This number remains the same even after saving and loading the scenario.
This ID is only available in Eden Editor.
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


Bottom Section