21 lines
599 B
Plaintext
21 lines
599 B
Plaintext
Scriptname _00E_SullevanManor_DoorScript extends ObjectReference
|
|
{This script opens the door in Sullevan's artifact chamber.
|
|
}
|
|
|
|
|
|
objectReference property BlackDoor auto ;This is the referenced door which will open upon entering the trigger
|
|
objectReference property BlackDoorMarker auto ;This is the XMarker
|
|
int doOnce
|
|
|
|
|
|
Event OnActivate (ObjectReference akActionRef)
|
|
|
|
if doOnce == 0
|
|
Debug.MessageBox("Gleich öffnet sich was!")
|
|
BlackDoor.TranslatetoRef(BlackDoorMarker,20.0)
|
|
doOnce = doOnce +1; The door will only open once
|
|
else
|
|
Debug.MessageBox("Ist doch schon unten!")
|
|
endif
|
|
|
|
EndEvent |