30 lines
472 B
Plaintext
30 lines
472 B
Plaintext
|
////
|
||
|
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oCreature;
|
||
|
int nCounter;
|
||
|
object oSearch;
|
||
|
object oLoot;
|
||
|
|
||
|
oCreature=GetEnteringObject();
|
||
|
|
||
|
if (GetLocalString (oCreature,"behaviour")!= "")
|
||
|
|
||
|
{
|
||
|
if (GetLocalInt(oCreature,"njw_current")==6)
|
||
|
|
||
|
{
|
||
|
AssignCommand(oCreature,ClearAllActions());
|
||
|
AssignCommand(oCreature,ActionMoveToLocation(GetLocation(GetObjectByTag("jw_"+GetTag(OBJECT_SELF)+"_outside_wp"))));
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|