13 lines
300 B
Plaintext
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));
|
||
|
}
|