Public Member Functions

INpcTask Interface Reference

Inherited by CNpcTask.

List of all members.

Public Member Functions

uint GetActions (array< INpcTaskAction@>& actions)
INpcTaskRoll (uint max)
INpcTaskContainer_Open (uint16 pid, uint16 hexX, uint16 hexY, uint anim2)
INpcTaskContainer_Close (uint16 pid, uint16 hexX, uint16 hexY, uint anim2)
INpcTaskContainer_OpenNear (uint anim2)
INpcTaskContainer_CloseNear (uint anim2)
INpcTaskEditItem_Update ()
INpcTaskEditItem_SetFlag (uint flag)
INpcTaskEditItem_UnsetFlag (uint flag)
INpcTaskEditItem_Flags (uint flags)
INpcTaskEditItem_SetScript (string& script)
INpcTaskEditItem_SetEvent (int event, string& function)
INpcTaskEditItem_PicMap (string& picmap)
INpcTaskEditItem_PicInv (string& picinv)
INpcTaskHome_Set (uint16 hexX, uint16 hexY, uint8 dir)
INpcTaskHome_SetRandom (array< array< uint16 > > positions)
INpcTaskHome_Save ()
INpcTaskHome_Load ()
INpcTaskHome_Reset ()
INpcTaskIf_Never ()
INpcTaskIf_Always ()
INpcTaskIf_TaskVarLower (string& name, int value)
INpcTaskIf_TaskVarLowerEqual (string& name, int value)
INpcTaskIf_TaskVarEqual (string& name, int value)
INpcTaskIf_TaskVarNotEqual (string& name, int value)
INpcTaskIf_TaskVarGreater (string& name, int value)
INpcTaskIf_TaskVarGreaterEqual (string& name, int value)
INpcTaskIf_Percent (uint8 percent)
INpcTaskIf_Night ()
INpcTaskIf_Day ()
INpcTaskIf_Morning ()
INpcTaskIf_Afternoon ()
INpcTaskIf_Evening ()
INpcTaskIf_Year (uint8 year)
INpcTaskIf_Month (uint8 month)
INpcTaskIf_DayOfMonth (uint8 day)
INpcTaskIf_Hour (uint8 hour)
INpcTaskIf_Minute (uint8 minute)
INpcTaskIf_Worldmap ()
INpcTaskIf_NotWorldmap ()
INpcTaskIf_MapPid (uint16 pid)
INpcTaskIf_NotMapPid (uint16 pid)
INpcTaskIf_MapPids (array< uint16 > pids)
INpcTaskIf_NotMapPids (array< uint16 > pids)
INpcTaskIf_ContainerOpened (uint16 pid, uint16 hexX, uint16 hexY)
INpcTaskIf_ContainerClosed (uint16 pid, uint16 hexX, uint16 hexY)
INpcTaskIf_ParamBaseLower (uint16 param, int value)
INpcTaskIf_ParamBaseLowerEqual (uint16 param, int value)
INpcTaskIf_ParamBaseEqual (uint16 param, int value)
INpcTaskIf_ParamBaseNotEqual (uint16 param, int value)
INpcTaskIf_ParamBaseGreater (uint16 param, int value)
INpcTaskIf_ParamBaseGreaterEqual (uint16 param, int value)
INpcTaskIf_ParamLower (uint16 param, int value)
INpcTaskIf_ParamLowerEqual (uint16 param, int value)
INpcTaskIf_ParamEqual (uint16 param, int value)
INpcTaskIf_ParamNotEqual (uint16 param, int value)
INpcTaskIf_ParamGreater (uint16 param, int value)
INpcTaskIf_ParamGreaterEqual (uint16 param, int value)
INpcTaskEndIf ()
INpcTaskInventory_AddItem (uint16 pid)
INpcTaskInventory_AddItem (uint16 pid, uint count)
INpcTaskInventory_SubItem (uint16 pid)
INpcTaskInventory_SubItem (uint16 pid, uint count)
INpcTaskInventory_SetFavouriteItem (uint8 slot, uint16 pid)
INpcTaskInventory_UseFavouriteItem (uint8 slot, uint16 pid)
INpcTaskMap_CreateItem (uint16 pid, uint16 hexX, uint16 hexY, uint count)
INpcTaskMap_DeleteItem (uint16 pid, uint16 hexX, uint16 hexY)
INpcTaskSay (uint8 sayType, string& text)
INpcTaskSay_Wait (uint8 sayType, string& text)
INpcTaskSay_Random (uint8 sayType, array< string >& text)
INpcTaskSay_TaskVar (string& name)
INpcTaskTaskVar_Delete (string& name)
INpcTaskTaskVar_Set (string& name, int value)
INpcTaskTaskVar_Add (string& name)
INpcTaskTaskVar_Sub (string& name)
INpcTaskTaskVar_Add (string& name, int value_add)
INpcTaskTaskVar_Sub (string& name, int value_sub)
INpcTaskTaskVar_SetRandom (string& name, int from, int to)
INpcTaskTaskVar_AddRandom (string& name, int from, int to)
INpcTaskTaskVar_SubRandom (string& name, int from, int to)
INpcTaskTaskVar_CopyToGlobalVar (string& name, uint16 GVAR)
INpcTaskTaskVar_CopyFromGlobalVar (string& name, uint16 GVAR)
INpcTaskTaskVar_CopyToLocationVar (string& name, uint16 LLVAR)
INpcTaskTaskVar_CopyFromLocationVar (string& name, uint16 LLVAR)
INpcTaskTaskVar_CopyToMapVar (string& name, uint16 LMVAR)
INpcTaskTaskVar_CopyFromMapVar (string& name, uint16 LMVAR)
INpcTaskTaskVar_CopyToCritterVar (string& name, uint16 LVAR)
INpcTaskTaskVar_CopyFromCritterVar (string& name, uint16 LVAR)
INpcTaskWait (uint time)
INpcTaskWait_Random (uint min, uint max)
INpcTaskWait_Home ()
INpcTaskWait_FavouriteItem (uint8 slot)
INpcTaskVerboseAction (string& text)
INpcTaskDemandAnswer (uint8 sayType, string& text)
INpcTaskAnimate (uint anim2, bool clearSequence, bool delayPlay)
INpcTaskSleep ()
INpcTaskWakeUp ()
INpcTaskWalk_Home (uint16 hexX, uint16 hexY, uint8 dir)
INpcTaskWalk_Home (array< uint16 >& position)
INpcTaskWalk_RandomHome (array< array< uint16 > > positions)
INpcTaskWalk_Patrol (array< array< uint16 > >& patrol, bool saveHome)
INpcTaskCustomAction (string& functionName, bool requireMap)

Member Function Documentation

uint GetActions ( array< INpcTaskAction@>&  actions  ) 

Implemented in CNpcTask.

INpcTask@ Roll ( uint  max  ) 

Implemented in CNpcTask.

INpcTask@ Container_Open ( uint16  pid,
uint16  hexX,
uint16  hexY,
uint  anim2 
)

Implemented in CNpcTask.

INpcTask@ Container_Close ( uint16  pid,
uint16  hexX,
uint16  hexY,
uint  anim2 
)

Implemented in CNpcTask.

INpcTask@ Container_OpenNear ( uint  anim2  ) 

Implemented in CNpcTask.

INpcTask@ Container_CloseNear ( uint  anim2  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_Update (  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_SetFlag ( uint  flag  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_UnsetFlag ( uint  flag  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_Flags ( uint  flags  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_SetScript ( string script  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_SetEvent ( int  event,
string function 
)

Implemented in CNpcTask.

INpcTask@ EditItem_PicMap ( string picmap  ) 

Implemented in CNpcTask.

INpcTask@ EditItem_PicInv ( string picinv  ) 

Implemented in CNpcTask.

INpcTask@ Home_Set ( uint16  hexX,
uint16  hexY,
uint8  dir 
)

Implemented in CNpcTask.

INpcTask@ Home_SetRandom ( array< array< uint16 > >  positions  ) 

Implemented in CNpcTask.

INpcTask@ Home_Save (  ) 

Implemented in CNpcTask.

INpcTask@ Home_Load (  ) 

Implemented in CNpcTask.

INpcTask@ Home_Reset (  ) 

Implemented in CNpcTask.

INpcTask@ If_Never (  ) 

Implemented in CNpcTask.

INpcTask@ If_Always (  ) 

Implemented in CNpcTask.

INpcTask@ If_TaskVarLower ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_TaskVarLowerEqual ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_TaskVarEqual ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_TaskVarNotEqual ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_TaskVarGreater ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_TaskVarGreaterEqual ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_Percent ( uint8  percent  ) 

Implemented in CNpcTask.

INpcTask@ If_Night (  ) 

Implemented in CNpcTask.

INpcTask@ If_Day (  ) 

Implemented in CNpcTask.

INpcTask@ If_Morning (  ) 

Implemented in CNpcTask.

INpcTask@ If_Afternoon (  ) 

Implemented in CNpcTask.

INpcTask@ If_Evening (  ) 

Implemented in CNpcTask.

INpcTask@ If_Year ( uint8  year  ) 

Implemented in CNpcTask.

INpcTask@ If_Month ( uint8  month  ) 

Implemented in CNpcTask.

INpcTask@ If_DayOfMonth ( uint8  day  ) 

Implemented in CNpcTask.

INpcTask@ If_Hour ( uint8  hour  ) 

Implemented in CNpcTask.

INpcTask@ If_Minute ( uint8  minute  ) 

Implemented in CNpcTask.

INpcTask@ If_Worldmap (  ) 

Implemented in CNpcTask.

INpcTask@ If_NotWorldmap (  ) 

Implemented in CNpcTask.

INpcTask@ If_MapPid ( uint16  pid  ) 

Implemented in CNpcTask.

INpcTask@ If_NotMapPid ( uint16  pid  ) 

Implemented in CNpcTask.

INpcTask@ If_MapPids ( array< uint16 >  pids  ) 

Implemented in CNpcTask.

INpcTask@ If_NotMapPids ( array< uint16 >  pids  ) 

Implemented in CNpcTask.

INpcTask@ If_ContainerOpened ( uint16  pid,
uint16  hexX,
uint16  hexY 
)

Implemented in CNpcTask.

INpcTask@ If_ContainerClosed ( uint16  pid,
uint16  hexX,
uint16  hexY 
)

Implemented in CNpcTask.

INpcTask@ If_ParamBaseLower ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamBaseLowerEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamBaseEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamBaseNotEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamBaseGreater ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamBaseGreaterEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamLower ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamLowerEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamNotEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamGreater ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ If_ParamGreaterEqual ( uint16  param,
int  value 
)

Implemented in CNpcTask.

INpcTask@ EndIf (  ) 

Implemented in CNpcTask.

INpcTask@ Inventory_AddItem ( uint16  pid  ) 

Implemented in CNpcTask.

INpcTask@ Inventory_AddItem ( uint16  pid,
uint  count 
)

Implemented in CNpcTask.

INpcTask@ Inventory_SubItem ( uint16  pid  ) 

Implemented in CNpcTask.

INpcTask@ Inventory_SubItem ( uint16  pid,
uint  count 
)

Implemented in CNpcTask.

INpcTask@ Inventory_SetFavouriteItem ( uint8  slot,
uint16  pid 
)

Implemented in CNpcTask.

INpcTask@ Inventory_UseFavouriteItem ( uint8  slot,
uint16  pid 
)

Implemented in CNpcTask.

INpcTask@ Map_CreateItem ( uint16  pid,
uint16  hexX,
uint16  hexY,
uint  count 
)

Implemented in CNpcTask.

INpcTask@ Map_DeleteItem ( uint16  pid,
uint16  hexX,
uint16  hexY 
)

Implemented in CNpcTask.

INpcTask@ Say ( uint8  sayType,
string text 
)

Implemented in CNpcTask.

INpcTask@ Say_Wait ( uint8  sayType,
string text 
)

Implemented in CNpcTask.

INpcTask@ Say_Random ( uint8  sayType,
array< string >&  text 
)

Implemented in CNpcTask.

INpcTask@ Say_TaskVar ( string name  ) 

Implemented in CNpcTask.

INpcTask@ TaskVar_Delete ( string name  ) 

Implemented in CNpcTask.

INpcTask@ TaskVar_Set ( string name,
int  value 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_Add ( string name  ) 

Implemented in CNpcTask.

INpcTask@ TaskVar_Sub ( string name  ) 

Implemented in CNpcTask.

INpcTask@ TaskVar_Add ( string name,
int  value_add 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_Sub ( string name,
int  value_sub 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_SetRandom ( string name,
int  from,
int  to 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_AddRandom ( string name,
int  from,
int  to 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_SubRandom ( string name,
int  from,
int  to 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyToGlobalVar ( string name,
uint16  GVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyFromGlobalVar ( string name,
uint16  GVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyToLocationVar ( string name,
uint16  LLVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyFromLocationVar ( string name,
uint16  LLVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyToMapVar ( string name,
uint16  LMVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyFromMapVar ( string name,
uint16  LMVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyToCritterVar ( string name,
uint16  LVAR 
)

Implemented in CNpcTask.

INpcTask@ TaskVar_CopyFromCritterVar ( string name,
uint16  LVAR 
)

Implemented in CNpcTask.

INpcTask@ Wait ( uint  time  ) 

Implemented in CNpcTask.

INpcTask@ Wait_Random ( uint  min,
uint  max 
)

Implemented in CNpcTask.

INpcTask@ Wait_Home (  ) 

Implemented in CNpcTask.

INpcTask@ Wait_FavouriteItem ( uint8  slot  ) 

Implemented in CNpcTask.

INpcTask@ VerboseAction ( string text  ) 

Implemented in CNpcTask.

INpcTask@ DemandAnswer ( uint8  sayType,
string text 
)

Implemented in CNpcTask.

INpcTask@ Animate ( uint  anim2,
bool  clearSequence,
bool  delayPlay 
)

Implemented in CNpcTask.

INpcTask@ Sleep (  ) 

Implemented in CNpcTask.

INpcTask@ WakeUp (  ) 

Implemented in CNpcTask.

INpcTask@ Walk_Home ( uint16  hexX,
uint16  hexY,
uint8  dir 
)

Implemented in CNpcTask.

INpcTask@ Walk_Home ( array< uint16 >&  position  ) 

Implemented in CNpcTask.

INpcTask@ Walk_RandomHome ( array< array< uint16 > >  positions  ) 

Implemented in CNpcTask.

INpcTask@ Walk_Patrol ( array< array< uint16 > >&  patrol,
bool  saveHome 
)

Implemented in CNpcTask.

INpcTask@ CustomAction ( string functionName,
bool  requireMap 
)

Implemented in CNpcTask.