enderalse/scripts/source/_00e_sullevanmanor_doorscript.psc

21 lines
599 B
Plaintext
Raw Normal View History

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 <20>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