CEL

Public API Reference

iEnterSectorQuestTriggerFactory Struct Reference

This interface is implemented by the trigger that fires when a certain sector is entered. More...

#include <tools/questmanager.h>

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 pccamera or pcmesh property class on which this trigger will fire.
virtual void SetSectorParameter (const char *sector)=0
 Set the name of the sector on which this trigger will fire as soon as the camera enters that sector.


Detailed Description

This interface is implemented by the trigger that fires when a certain sector is entered.

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.questtrigger.entersector' for the version that listens to camera changes and 'cel.questtrigger.meshentersector' for the version that listens to mesh changes.

In XML, factories recognize the following attributes on the 'fireon' node:

Definition at line 1044 of file questmanager.h.


Member Function Documentation

virtual void iEnterSectorQuestTriggerFactory::SetEntityParameter ( const char *  entity,
const char *  tag = 0 
) [pure virtual]

Set the name of the entity containing the pccamera or pcmesh 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 '$').

virtual void iEnterSectorQuestTriggerFactory::SetSectorParameter ( const char *  sector  )  [pure virtual]

Set the name of the sector on which this trigger will fire as soon as the camera enters that sector.

Parameters:
sector is the name 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 by doxygen 1.4.7