No categories assigned

LUA:GetStrBase

Revision as of 19:14, 11 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: GetStrBase() = Gets the base strength for the given spawn ==== Syntax ==== var = GetStrBase(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: GetStrBase()

Gets the base strength for the given spawn


Syntax

var = GetStrBase(param1)


Parameters

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


Usage

function hailed(NPC, Spawn)
    Say(NPC, "Your base strength is: " .. GetStrBase(Spawn))
end

The NPC will respond with the players base strength

Notes

Returns an int32