Arma 3 Scripting

get3DENParent

  • Arma 3 v2.18

Command · Markdown · JSON · original wiki page

Description

Obtains the provided entity's parent.

Syntax

get3DENParent entity

Parameters:

Returns: 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;

See also

create3DENEntity · delete3DENEntities