Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:18.1.0

Description

Description:Checks whether a unit is an "actor" or a "regular" unit.

Syntax

Syntax:isActor unit
Parameters:
  • unit: Unit - Unit to check.
Return Value:Boolean - If true, then the unit was created with createActor. If false, then the unit was created with either createUnit.

Examples

Examples:
_actor = isActor soldier1

Additional Information

See also: createActor, createActorGroup, createUnit, getGroupAiType
Multiplayer: 
Problems: 

Notes