Planeshift
|
This script operation send a perception/command to the npc client. More...
#include <dictionary.h>
Public Member Functions | |
virtual csString | GetResponseScript () |
virtual bool | Load (iDocumentNode *node) |
NPCCmdResponseOp () | |
virtual bool | Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber) |
virtual | ~NPCCmdResponseOp () |
![]() | |
const char * | GetName () |
only used for output in error messages while parsing the script in NpcResponse More... | |
virtual bool | IsPublic () |
virtual | ~ResponseOperation () |
Protected Attributes | |
csString | cmd |
![]() | |
csString | name |
This script operation send a perception/command to the npc client.
This command could picked up by a response in the beavior for a npc. E.g. sending the command "test_cmd" could be received with the: <react event="npccmd:test_cmd" ... />
Definition at line 556 of file dictionary.h.
|
inline |
Definition at line 561 of file dictionary.h.
|
inlinevirtual |
Definition at line 565 of file dictionary.h.
|
virtual |
Implements ResponseOperation.
|
virtual |
Implements ResponseOperation.
|
virtual |
Implements ResponseOperation.
|
protected |
Definition at line 559 of file dictionary.h.