Battledale_PRC8/_module/nss/tri_devicedest.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

13 lines
300 B
Plaintext

void main()
{
object oDoor = GetObjectByTag("tri_magicdoor");
object oSparks = GetNearestObjectByTag("tri_magicspa", OBJECT_SELF, 1);
SetLocked(oDoor, 0);
DelayCommand(10.0, ActionOpenDoor(oDoor));
SetPlotFlag(oSparks,FALSE);
DestroyObject(oSparks);
DelayCommand(1200.0, SetLocked(oDoor, TRUE));
}