IsPlayerSungazing - Game

From the CreationKit Wiki
Revision as of 08:37, 15 June 2012 by 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 == ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script (Requires 1.6)

Checks to the see if the player is looking directly at the sun.

Syntax

bool Function IsPlayerSungazing() native global

Parameters

None.

Return Value

true if the player is looking at the sun, false if not.

Examples

; Can the player use the journal menu?
if Game.IsPlayerSungazing()
  Debug.Trace("Player is looking at the sun!")
endIf

See Also