16 lines
387 B
Plaintext
16 lines
387 B
Plaintext
Scriptname _00E_FS_NQR05_SetGamehourSC extends ObjectReference
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
if akActionRef == PlayerREF
|
|
Debug.Notification("Trigger entered, Time-manipulation started")
|
|
GameHour.SetValue(21)
|
|
Timescale.SetValue(0.01)
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
GlobalVariable Property Timescale Auto
|
|
GlobalVariable Property GameHour Auto |