Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
29
_module/nss/jw_asheeba_enter.nss
Normal file
29
_module/nss/jw_asheeba_enter.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
////
|
||||
|
||||
|
||||
|
||||
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"))));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user