12 lines
227 B
Plaintext
12 lines
227 B
Plaintext
|
Scriptname _00E_MQ06_BedActivator extends ObjectReference
|
||
|
|
||
|
bool Done
|
||
|
|
||
|
Event OnActivate(ObjectReference akActionRef)
|
||
|
|
||
|
if !Done && (akActionRef == Game.GetPlayer())
|
||
|
Game.EnablePlayerControls()
|
||
|
Done = True
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|