No categories assigned

LUA:GetMaxHPBase

Revision as of 22:59, 19 August 2013 by Jabantiz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: GetMaxHPBase()

Gets the base max hp for the given spawn


Syntax

GetMaxHPBase(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn who's base max hp we want


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.