UCC Reference

UI_get_temperature

[SI, Exult]

int UI_get_temperature(actor npc)
int npc->get_temperature()

Inspects a NPC's temperature. The NPC's temperature changes over time depending on whether or not his FREEZE flag is set.

Parameters

Parameter / value Description
npc The NPC whose temperature is sought.

Return

A numeric value in the 0-63 range specifying how cold the NPC is; 0 being normal temperature and 63 being freezing cold.

Related intrinsics

Full intrinsic reference | Reference definitions