Battledale_PRC8/_module/nss/ty_banlock6d.nss
Jaysyn904 7b9e44ebbb 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.
2024-03-11 23:44:08 -04:00

16 lines
379 B
Plaintext

void main()
{
object oLocks = GetObjectByTag("ty_bannerlocks");
if(GetLocalInt(oLocks, "banner6d") != 1)
{
PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
SetLocalInt(oLocks, "banner6d", 1);
}
else
{
PlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
SetLocalInt(oLocks, "banner6d", 0);
}
}