You are viewing an old version of this page. Return to the latest version.
Version of 22:53, 19 August 2013 by I need to Update My Profile
No categories assigned
LUA:GetMaxHPBase
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: GetMaxHPBase()
Gets the base max hp for the given spawn
Syntax
GetMaxHPBase(param1)
Parameters
- Required - param1 (Spawn)
Usage
function hailed(NPC, Spawn)
Say(NPC, "Your max HP base is " .. GetMaxHPBase(Spawn) .. ".")
end
This will cause the NPC's to respond to a hail with the player base max hp.