class TriggerBase extends Vob (client-side)
Available since version: 0.2.1
This class represents world trigger base, which can activate various things.
Constructor
TriggerBase()
Parameters:
No parameters.
Constructor
TriggerBase(userpointer ptr)
Parameters:
userpointerptr: the pointer to the object from the game.
Properties
string target
Represents the vob name that will be triggered by the trigger.
Methods
triggerTarget
Note
In order to invoke this action trigger must be added to game world.
This method will trigger the target vob.
void triggerTarget(userpointer instigatorVob = null)
Parameters:
userpointerinstigatorVob: the vob that is used by some of engine classes. Can be ommited in most cases.
untriggerTarget
Note
In order to invoke this action trigger must be added to game world.
This method will untrigger the target vob.
void untriggerTarget(userpointer instigatorVob = null)
Parameters:
userpointerinstigatorVob: the vob that is used by some of engine classes. Can be ommited in most cases.
Callbacks
No callbacks.