24 lines
580 B
Plaintext
24 lines
580 B
Plaintext
|
Scriptname _00E_BedScript extends ObjectReference
|
||
|
{Magically bypasses the whole waiting/resting-system thingy}
|
||
|
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
if (akActionRef == PlayerREF)
|
||
|
if !(MQ14.GetStage() >= 20)
|
||
|
Game.SetInChargen(False, False, False)
|
||
|
Self.Activate(PlayerREF, True)
|
||
|
Game.SetInChargen(False, True, False)
|
||
|
Else
|
||
|
_00E_MQ14_CantRestNowMessage.Show()
|
||
|
EndIf
|
||
|
endif
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
Quest Property MQ14 Auto
|
||
|
|
||
|
Message Property _00E_MQ14_CantRestNowMessage Auto
|
||
|
|