![]() |
Public API Reference |
This interface is implemented by the trigger that fires when a certain mesh is selected. More...
#include <tools/triggers.h>
Public Member Functions | |
| virtual void | SetEntityParameter (const char *entity, const char *tag=0)=0 |
| Set the name of the entity containing the pcmeshselect property class on which this trigger will fire. | |
This interface is implemented by the trigger that fires when a certain mesh is selected.
You can query this interface from the trigger factory if you want to manually control this factory as opposed to loading its definition from an XML document.
The predefined name of this trigger type is 'cel.triggers.meshselect'.
This trigger sends out 'entity' parameter to the reward (containing the name of the entity that was selected).
In XML, factories recognize the following attributes on the 'fireon' node:
Definition at line 255 of file triggers.h.
| virtual void iMeshSelectTriggerFactory::SetEntityParameter | ( | const char * | entity, |
| const char * | tag = 0 |
||
| ) | [pure virtual] |
Set the name of the entity containing the pcmeshselect property class on which this trigger will fire.
| entity | is the name of the entity or a parameter (starts with '$'). |
| tag | is the optional tag of the entity or a parameter (starts with '$'). |