I was originally trying to write a script checking if the player entered bleedout, but I was getting nowhere. So instead I've switched to checking if player health is 0 (On the assumption it is when the pc health goes to 0 that triggers bleedout) and then applying the penalty.
So I am trying to
- Detects if the players health is zero
- Reduces the max health if it is
Scriptname WZTestBleedout extends QuestEvent Oninit() if Game.GetPlayer().GetActorValue("health") == 0 Game.GetPlayer().ModActorValue("health", -10)endIfendEventI've got the script to compile but it isn't doing anything. I'm guessing I need to change it to an onstory script event but I don't know how to do that. Any help would be greatly appreciated!
