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:
21
_module/nss/fr_iwd_qboatsw.nss
Normal file
21
_module/nss/fr_iwd_qboatsw.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
|
||||
object oDoor = GetObjectByTag("fr_iwd_todocks");
|
||||
object oTarget = GetObjectByTag("fr_iwd_qboat");
|
||||
|
||||
if((GetLocalInt(oTarget, "Chk")==0))
|
||||
{
|
||||
DelayCommand(0.7, ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE, 1.0, 0.0));
|
||||
SetLocalInt(oTarget,"Chk", 1);
|
||||
SendMessageToAllDMs("The docks WITH the ship has been activated.");
|
||||
}
|
||||
else
|
||||
{
|
||||
DelayCommand(0.7, ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE, 1.0, 0.0));
|
||||
SetLocalInt(oTarget,"Chk", 0);
|
||||
SendMessageToAllDMs("The docks WITHOUT the ship has been activated.");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user