CEL

Public API Reference

iMeshSelectTriggerFactory Struct Reference

This interface is implemented by the trigger that fires when a certain mesh is selected. More...

#include <tools/triggers.h>

Inheritance diagram for iMeshSelectTriggerFactory:

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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.

Parameters:
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 '$').

The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.6.1