GetLocalValue
Jump to navigation
Jump to search
Description:
Gets current field values of npc as a player.
Parameters:
(field)
field : The field of npc's data to which the value is to be get.
Return Values:
The value as integer or float.
Example
The following code will fetch npc's current ammo.
local health = GetLocalValue(I_HEALTH ); if( health < 5 ) SendChat("Water. water please...");
relfuncs= *SetLocalValue