Difference between revisions of "GetAngle"
Jump to navigation
Jump to search
→Notes
imported>Dragoonwraith (→Notes: some formatting and updating; not sure you can even write scripts like this anymore with the remnants of the old script) |
imported>Jimhsu (→Notes) |
||
Line 23: | Line 23: | ||
* X angle returns a value (theorically) from -90 to 90. The true in-game range is -89 to 89, with -89 if the player is looking above himself, and 89 if player is looking at his feet. Note that the player actually ''is'' looking 89 degrees above or below horizontal - you cannot look exactly up or exactly down in game. | * X angle returns a value (theorically) from -90 to 90. The true in-game range is -89 to 89, with -89 if the player is looking above himself, and 89 if player is looking at his feet. Note that the player actually ''is'' looking 89 degrees above or below horizontal - you cannot look exactly up or exactly down in game. | ||
* NOTE: You can rotate the camera when riding a horse without changing the actual direction the player's facing so GetAngle Z is kind of useless sometimes (like when using [[getLOS]]) if the player is on a horse. | * NOTE: You can rotate the camera when riding a horse without changing the actual direction the player's facing so GetAngle Z is kind of useless sometimes (like when using [[getLOS]]) if the player is on a horse. | ||
* GetAngle x does not work on horses or the player, in 1st or 3rd person mode. Unknown whether or not this is a bug. | |||
==Papyrus Version== | ==Papyrus Version== | ||
[[GetAngleX - ObjectReference]]<br/> | [[GetAngleX - ObjectReference]]<br/> |