Hallo Leute

ich brauche eure Hilfe bei einem Schlaf Script.

Unten sieht man das „A Good Nights Sleep“ Script von JoshNZ runter geladen vom newvegasNexus. Es bewirkt das man beim Schlafen langsamer heilt und keine Körperteile geheilt werden.
Das Script wird nur im Hardcore Modus aktiv, aber ich hätte es gern im normalen Spielmodus. Kann mir da bitte jemand weiter helfen, ich hab so gut wie keine Ahnung davon!

scn aaSleepHealth

Float FullHP
Float CurrentHP
Float Diff
Float HPPerHour
Float ResultHP
Float SleepTime

Int OncePer

Begin MenuMode

If GetPCSleepHours != 0 && OncePer == 0
Set SleepTime to GetPCSleepHours
if SleepTime > 8
Set SleepTime to 8
endif
set fullHP to player.GetBaseActorValue Health
set CurrentHP to player.GetActorValue Health
Set Diff to fullHP - CurrentHP
Set HPPerHour to (Diff / 8)
Set ResultHP to HPPerHour * SleepTime
Player.RestoreActorValue Health ResultHP
Set OncePer to 1
Endif

End

Begin GameMode

If OncePer == 1
Set OncePer to 0
Endif

End


Mfg...