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:
17
_module/nss/fr_iwd_ship.nss
Normal file
17
_module/nss/fr_iwd_ship.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetClickingObject();
|
||||
object oTarget = GetObjectByTag("fr_iwd_qboat");
|
||||
object oShip = GetWaypointByTag("fr_iwd_ship");
|
||||
object oNoShip = GetWaypointByTag("fr_iwd_noship");
|
||||
|
||||
|
||||
if((GetLocalInt(oTarget, "Chk")==0))
|
||||
{
|
||||
AssignCommand (oPC,JumpToObject(oNoShip));
|
||||
}
|
||||
else
|
||||
{
|
||||
AssignCommand (oPC,JumpToObject(oShip));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user