cw4:cpack:docs:23977d46-b69d-431a-82e1-f4013f889c5a
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
cw4:cpack:docs:23977d46-b69d-431a-82e1-f4013f889c5a [2024/03/19 23:06] – [Player.4rpl] added clarity about how to disable "bonusRequirement". LiteralNoob | cw4:cpack:docs:23977d46-b69d-431a-82e1-f4013f889c5a [2025/02/14 14:57] (current) – external edit 127.0.0.1 |
---|
| isFPMode | A bool, indicating whether the player is currently in first person mode. Updates while paused. | | | isFPMode | A bool, indicating whether the player is currently in first person mode. Updates while paused. | |
| playerForward | A normalized 3-dimensional vector pointing in the direction the player is looking. Changing this will //not// rotate the player. Useful for making something move in front of the player. | | | playerForward | A normalized 3-dimensional vector pointing in the direction the player is looking. Changing this will //not// rotate the player. Useful for making something move in front of the player. | |
| playerHealth | A floating point from 0 to 1 representing how much health the player has out of their max health. | | | playerHealth | A floating point from 0 to maxHealth representing how much health the player has. | |
| playerPos | The position of the player as a 3-dimensional vector. It is the location of the camera when the player is in first person mode, not the terrain below the camera. This means it is roughly 9 cells above the terrain by default. Changing this will teleport the player to that x and z, but the y always follows the terrain. | | | playerPos | The position of the player as a 3-dimensional vector. It is the location of the camera when the player is in first person mode, not the terrain below the camera. This means it is roughly 9 cells above the terrain by default. Changing this will teleport the player to that x and z, but the y always follows the terrain. | |
| playerStunned | A boolean indicating whether or not the player is stunned. | | | playerStunned | A boolean indicating whether or not the player is stunned. | |
cw4/cpack/docs/23977d46-b69d-431a-82e1-f4013f889c5a.1710889581.txt.gz · Last modified: 2025/02/14 14:56 (external edit)