UCC Reference

UI_set_temperature

[SI, Exult]

UI_set_temperature(actor npc, int temp)
npc->set_temperature(int temp)

Changes 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 to be changed.
temp The new value for the temperature. This is 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