Planeshift
|
This script operation makes an npc do an action, like greet or bow, as part of his response to a player event. More...
#include <dictionary.h>
Public Member Functions | |
ActionResponseOp (const char *actionName, bool my, bool narrate, bool is_public) | |
virtual csString | GetResponseScript () |
virtual bool | IsPublic () |
virtual bool | Load (iDocumentNode *node) |
virtual bool | Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber) |
virtual | ~ActionResponseOp () |
![]() | |
const char * | GetName () |
only used for output in error messages while parsing the script in NpcResponse More... | |
virtual | ~ResponseOperation () |
Protected Attributes | |
bool | actionMy |
bool | actionNarrate |
bool | actionpublic |
Indicates whether the response action should be shown publicly or in private. More... | |
csString * | actWhat |
csString | anim |
![]() | |
csString | name |
This script operation makes an npc do an action, like greet or bow, as part of his response to a player event.
Definition at line 520 of file dictionary.h.
|
inline |
Definition at line 529 of file dictionary.h.
|
inlinevirtual |
Definition at line 537 of file dictionary.h.
|
virtual |
Implements ResponseOperation.
|
inlinevirtual |
Reimplemented from ResponseOperation.
Definition at line 544 of file dictionary.h.
|
virtual |
Implements ResponseOperation.
|
virtual |
Implements ResponseOperation.
|
protected |
Definition at line 523 of file dictionary.h.
|
protected |
Definition at line 523 of file dictionary.h.
|
protected |
Indicates whether the response action should be shown publicly or in private.
Definition at line 525 of file dictionary.h.
|
protected |
Definition at line 527 of file dictionary.h.
|
protected |
Definition at line 526 of file dictionary.h.