Difference between revisions of "IsPlayerSungazing - Game"
Jump to navigation
Jump to search
imported>JLundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script ''(Requires 1.6)'' Checks to the see if the player is looking directly at the sun. == Syntax == ...") |
imported>Sagitarius22 |
||
Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
if Game.IsPlayerSungazing() | if Game.IsPlayerSungazing() | ||
Debug.Trace("Player is looking at the sun!") | Debug.Trace("Player is looking at the sun!") |
Latest revision as of 05:40, 18 June 2012
Member of: Game Script (Requires 1.6)
Checks to the see if the player is looking directly at the sun.
Syntax[edit | edit source]
bool Function IsPlayerSungazing() native global
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
true if the player is looking at the sun, false if not.
Examples[edit | edit source]
if Game.IsPlayerSungazing()
Debug.Trace("Player is looking at the sun!")
endIf