Planeshift
|
This script operation makes an npc assign one out of a list of quest to a player, as part of his response to a player event. More...
#include <dictionary.h>
Public Member Functions | |
AssignQuestResponseOp () | |
how many of the quests are valid. More... | |
int | GetMaxQuests () |
psQuest * | GetQuest (int n) |
virtual csString | GetResponseScript () |
const char * | GetTimeoutMsg () |
virtual bool | Load (iDocumentNode *node) |
virtual bool | Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber) |
virtual | ~AssignQuestResponseOp () |
![]() | |
const char * | GetName () |
only used for output in error messages while parsing the script in NpcResponse More... | |
virtual bool | IsPublic () |
virtual | ~ResponseOperation () |
Protected Attributes | |
int | num_quests |
string with npc declinign to give quest More... | |
psQuest * | quest [MAX_RESP] |
csString | timeout_msg |
ptrs to cachemanager entries for quests. must have at least one. More... | |
![]() | |
csString | name |
This script operation makes an npc assign one out of a list of quest to a player, as part of his response to a player event.
Definition at line 756 of file dictionary.h.
|
inline |
how many of the quests are valid.
Definition at line 764 of file dictionary.h.
|
inlinevirtual |
Definition at line 769 of file dictionary.h.
|
inline |
Definition at line 781 of file dictionary.h.
Definition at line 777 of file dictionary.h.
|
virtual |
Implements ResponseOperation.
|
inline |
Definition at line 773 of file dictionary.h.
|
virtual |
Implements ResponseOperation.
|
virtual |
Implements ResponseOperation.
|
protected |
string with npc declinign to give quest
Definition at line 761 of file dictionary.h.
Definition at line 759 of file dictionary.h.
|
protected |
ptrs to cachemanager entries for quests. must have at least one.
Definition at line 760 of file dictionary.h.