get3DENEntityID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| 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 [[Eden Editor]].}}
| 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 [[Eden Editor]].}}


| '''get3DENEntityID''' entity
|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

Revision as of 23:12, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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