RATDOG/_module/nss/commoner_resume.nss
Jaysyn904 ae152d0814 Added BESIE, MS Moneclature
Added BESIE, Markshire's Nomeclature & started initial setup for commoners in Baleas.
2021-09-01 23:42:36 -04:00

27 lines
828 B
Plaintext

//::///////////////////////////////////////////////
//:: commoner_resume
//:://////////////////////////////////////////////
/*
Sends commoner to its destination waypoint after
speaking its one liner.
*/
//:://////////////////////////////////////////////
//:: Created By: EntropyDecay
//:: Created On: May 2003
//:://////////////////////////////////////////////
void main()
{
object oArea = GetArea(OBJECT_SELF);
int nWalkType = GetLocalInt(oArea, "nWalkType");
AssignCommand(OBJECT_SELF, DelayCommand(0.1,ClearAllActions()));
AssignCommand(OBJECT_SELF, DelayCommand(0.1,
ActionForceMoveToObject(
GetLocalObject(OBJECT_SELF, "oWalkTarget"),
nWalkType, 0.4, 60.0)));
AssignCommand(OBJECT_SELF,
DelayCommand(0.1,
ActionDoCommand(DestroyObject(OBJECT_SELF, 0.1))));
}