12 lines
225 B
Plaintext
12 lines
225 B
Plaintext
|
void main()
|
||
|
{
|
||
|
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||
|
ClearAllActions();
|
||
|
object oDoor = GetObjectByTag("tri_magicdoor");
|
||
|
|
||
|
SetLocked(oDoor, 0);
|
||
|
ActionOpenDoor(oDoor);
|
||
|
|
||
|
DelayCommand(100.0, SetLocked(oDoor, TRUE));
|
||
|
}
|