In file include/csscript/objtrig.h:

## class csObjectTrigger : public csPObject

> The toplevel class for all objects in Crystal Space that need support for triggers (activation in the engine using the space button currently)

## Inheritance:

### Public Methods

csObjectTrigger()
  Create a new csObjectTrigger with the given name and type.
static void DoActivateTriggers(csObject& obj)
  Activate all the active triggers
void DoActivateTriggers()
  Activate all the active triggers
static csObjectTrigger* GetTrigger(csObject& obj)
  Retrieve the trigger object (if any) from the given csObject
void NewActivateTrigger(csScript* script, csObject* ob = NULL)
  Add a new activate trigger to the list of triggers for the given script and object

### Private Fields

TriggerList activate_triggers
  List with all activation triggers for this object.

### Inherited from csPObject:

### Public Methods

virtual csObject* GetObjectParent()

### Protected Fields

csObject* parent

### Protected Methods

virtual void SetObjectParent(csObject* p)

### Inherited from csObject:

### Public Methods

CS_ID GetID()
csObject* GetObj(const csIdType& objtype)
void ObjAdd(csObject* obj)
csObjIterator ObjGet(const csIdType& objtype)
void ObjRelease(csObject* obj)
void ObjRemove(csObject* obj)

### Private Fields

CS_ID csid_value
csObjTree* objtree

### Inherited from csBase:

## Documentation

> The toplevel class for all objects in Crystal Space that need support for triggers (activation in the engine using the space button currently)

`TriggerList activate_triggers`
  List with all activation triggers for this object.

`csObjectTrigger()`
  Create a new csObjectTrigger with the given name and type.

`void NewActivateTrigger(csScript* script, csObject* ob = NULL)`
  Add a new activate trigger to the list of triggers for the given script and object

`void DoActivateTriggers()`
  Activate all the active triggers. This will cause the respective scripts to be run.

`static void DoActivateTriggers(csObject& obj)`
  Activate all the active triggers. This will cause the respective scripts to be run.

`static csObjectTrigger* GetTrigger(csObject& obj)`
  Retrieve the trigger object (if any) from the given csObject

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de