get3DENEntityID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


|arma3|Game name=
|game1= arma3
|version1= 1.56


|1.56|Game version=
|gr1= Eden Editor


|gr1= Eden Editor |GROUP1=
|descr= Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. {{Feature|informative|This ID is only available in [[:Category:Eden Editor|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=
|s1= [[get3DENEntityID]] entity
____________________________________________________________________________________________


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


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


| [[get3DENEntity]] |SEEALSO=
|seealso= [[get3DENEntity]]
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 01:25, 2 February 2024

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