enderalse/scripts/source/_00e_mq00_trigbox01script.psc

32 lines
403 B
Plaintext

Scriptname _00E_MQ00_TrigBox01Script extends ObjectReference
int DoOnce
Event OnTriggerEnter(ObjectReference akActionRef)
if ( DoOnce == 0 )
if(akActionRef == Game.GetPlayer())
Game.SetInChargen(false, false, false)
;Game.ShowRaceMenu()
DoOnce = -1
endif
endif
if ( DoOnce == -1)
utility.Wait(4)
Game.RequestAutoSave()
Game.RequestSave()
DoOnce = -2
endif
EndEvent