1. How do you determine a player is lying or standing? Also wondering how to raise the player?
     
  2. Wulf

    Wulf Community Admin

    You could check player.transform.rotation. Not sure what you mean by "raise the player", could you explain?
     
  3. Is it possible you mean checking BasePlayer.IsSleeping() and BasePlayer.EndSleep()? I think these were the names of the functions, the latter would force-awake the player if that is what you want with the former checking if they are laying (sleeping)?
     
  4. BasePlayer.IsWounded() will return true if the BasePlayer object has the wounded flag, to stop them from being wounded you call BasePlayer.StopWounded()

    There are also the hooks OnPlayerWound which is triggered when the player enters the wounded state and the hook OnPlayerRecover when the player recovers from the wounded state.
     
  5. Thank you! Topic can be closed.