Class: cond
Completion condition for a composed entity action.
Source
C++ class cond
Custom Constructor
cond
Remarks
Conditions choose which sub-action completions should finish the composed entity_action. Combine flags when the action should wait for several parts.
Extends
Constructors
Constructor
ts
new cond(): cond;Create an empty completion condition.
Returns
cond
Overrides
Constructor
ts
new cond(value: number): cond;Create a completion condition from flags.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | number | Condition flags. |
Returns
cond
Overrides
ts
EngineBinding.constructorConstructor
ts
new cond(value1: number, value2: number): cond;Create a completion condition from flags and a time limit.
Parameters
| Parameter | Type | Description |
|---|---|---|
value1 | number | Condition flags. |
value2 | number | Time limit. |
Returns
cond
Overrides
ts
EngineBinding.constructorProperties
__name
ts
readonly __name: string;LuaBind instance constructor name.
Inherited from
__name
ts
readonly static __name: string;LuaBind class constructor name.
Inherited from
act_end
ts
readonly static act_end: 128;Engine enum value for cond.act_end.
anim_end
ts
readonly static anim_end: 4;Engine enum value for cond.anim_end.
look_end
ts
readonly static look_end: 2;Engine enum value for cond.look_end.
move_end
ts
readonly static move_end: 1;Engine enum value for cond.move_end.
object_end
ts
readonly static object_end: 32;Engine enum value for cond.object_end.
sound_end
ts
readonly static sound_end: 8;Engine enum value for cond.sound_end.
time_end
ts
readonly static time_end: 64;Engine enum value for cond.time_end.