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:
15
_module/nss/ty_banlock5c.nss
Normal file
15
_module/nss/ty_banlock5c.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
object oLocks = GetObjectByTag("ty_bannerlocks");
|
||||
|
||||
if(GetLocalInt(oLocks, "banner5c") != 1)
|
||||
{
|
||||
PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||||
SetLocalInt(oLocks, "banner5c", 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
PlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
|
||||
SetLocalInt(oLocks, "banner5c", 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user