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:
30
_module/nss/ty_a4_southexit.nss
Normal file
30
_module/nss/ty_a4_southexit.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetClickingObject();
|
||||
|
||||
if(GetLocalInt(GetObjectByTag("room11counter"), "exitcounter") == 0)
|
||||
{
|
||||
AssignCommand(oPC, ActionJumpToLocation(GetLocation(GetWaypointByTag("wp_a4_to_r11n"))));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(GetLocalInt(GetObjectByTag("room11counter"), "exitcounter") == 1)
|
||||
{
|
||||
AssignCommand(oPC, ActionJumpToLocation(GetLocation(GetWaypointByTag("wp_a4_to_r11w"))));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(GetLocalInt(GetObjectByTag("room11counter"), "exitcounter") == 2)
|
||||
{
|
||||
AssignCommand(oPC, ActionJumpToLocation(GetLocation(GetWaypointByTag("wp_r2_to_r11"))));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(GetLocalInt(GetObjectByTag("room11counter"), "exitcounter") == 3)
|
||||
{
|
||||
AssignCommand(oPC, ActionJumpToLocation(GetLocation(GetWaypointByTag("wp_a4_to_r11e"))));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user