get3DENParent

From Bohemia Interactive Community
Revision as of 17:33, 9 December 2024 by R3vo (talk | contribs) (Added true data types)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Obtains the provided entity's parent.
Groups:
Eden Editor

Syntax

Syntax:
get3DENParent entity
Parameters:
entity: Object, Group, Array, Number, String - Eden Entity
Return Value:
Object, Array, Number - Returns Eden Entity or the Eden ID representing it. -1 for system layers such as BLUFOR, OPFOR etc.

Examples

Example 1:
private _parent = get3DENParent _myObject;

Additional Information

See also:
create3DENEntity delete3DENEntities

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