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.
18 lines
359 B
Plaintext
18 lines
359 B
Plaintext
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));
|
|
}
|
|
}
|