IsPlayerSungazing - Game

Revision as of 06:40, 18 June 2012 by imported>Sagitarius22 (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script (Requires 1.6)

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

SyntaxEdit

bool Function IsPlayerSungazing() native global

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

if Game.IsPlayerSungazing()
  Debug.Trace("Player is looking at the sun!")
endIf

See AlsoEdit