ActIdle

Category: Objects / Activity
Since engine version: 4.6.5.0 CP

Description

Checks whether an object is currently performing the specified activity.

Syntax

bool ActIdle (object pObj);

Parameter

pObj:
[opt] Object to check. Can be 0 in local calls

Example

if(ActIdle(i = FindObject(HUT1)) Explode(15, i);
Blows up the hut if the door is currently closed
See also: GetAction, SetAction
jwk, April 2002