32 lines
403 B
Plaintext
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
|
|
|