get3DENEntityID: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(9 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. {{Feature| | |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]].}} | ||
|s1= | |s1= [[get3DENEntityID]] entity | ||
|p1= entity: [[Eden Entity]] or [[Eden ID]] | |p1= entity: [[Eden Entity]] or [[Eden ID]] | ||
|r1=[[Number]] - [[Eden ID]] If ID is not available, -1 is returned | |r1= [[Number]] - [[Eden ID]] If ID is not available, -1 is returned | ||
|x1= < | |x1= <sqf>myID = get3DENEntityID player;</sqf> | ||
|seealso= [[get3DENEntity]] | |seealso= [[get3DENEntity]] | ||
}} | }} |
Latest revision as of 00:25, 2 February 2024
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:
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