Hello,
I created new object and attached script on it. When player activates it, it drains his current fatigue (Player->ModCurrentFatigue -999) and five seconds later it restores it (Player->ModCurrentFatigue 999). This causes player to collapse (that's the reason I do this) and then get back on his feet. This works fine. However, when player activates the item for second time, fatigue is again calculated correctly in both steps, but player does NOT get up. Instead he ends up not able to activate anything or even open main menu (he is still able to open inventory and draw a weapon - but draw weapon sound is not played and weapon is not visible, only hide weapon sound is played). Does anyone have any idea what might be causing that?
Thanks in advance
EDIT: Nevermind, my bad. It was bug with my timer. Sorry. I would be grateful if some moderator could lock this thread.