No categories assigned

LUA:GetMaxPowerBase

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

LUA Functions: GetMaxPowerBase()

Gets the base max power for the given spawn


Syntax

GetMaxPowerBase(param1)


Parameters

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


Usage

function hailed(NPC, Spawn)
    Say(NPC, "Your max power base is " .. GetMaxPowerBase(Spawn) .. ".")
end

This will cause the NPC to respond with the players max base power.