enderalse/source/scripts/_00e_mq00_trigbox00script.psc

32 lines
800 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ00_TrigBox00Script extends ObjectReference
int DoOnce
Quest Property _00E_MQ00 auto
Race Property NordRaceChild auto
Event OnTriggerEnter(ObjectReference akActionRef)
if ( DoOnce == 0 )
if(akActionRef == Game.GetPlayer())
Game.FadeOutGame(false, true, 2.0, 1.0) ; Fade in after the mainmenu
;Game.SetInChargen(false, true, false) ; Save, Rest, HUD ? Disabled
Game.EnablePlayerControls() ; Enable Player Controls
;Game.ShowTitleSequenceMenu()
Game.GetPlayer().SetScale(0.98) ; Scale the player
Game.GetPlayer().SetRace(NordRaceChild) ; Set player race to child
Debug.MessageBox("Yippee, jetzt bin ich Jorle Rostl<74>ffel!")
_00E_MQ00.SetStage(0) ; Starts _00E_MQ00 Quest
DoOnce = -1
endif
endif
EndEvent