GHI_GetCurrentTemperature

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_GetCurrentTemperature()

Arguments:

GHI_GetCurrentTemperature() has no arguments.

Returns:

temperature
''number''
Returns the current temperature of the zone the player is in. The current time of the day is taken into account, as well as if the player is indoors or swimming.

Example:

print(GHI_GetCurrentTemperature())

This script prints the current temperature of the zone.