Difference between revisions of "LUA:GetStrBase"

(Created page with "= LUA Functions: GetStrBase() = Gets the base strength for the given spawn ==== Syntax ==== var = GetStrBase(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''...")
 
(No difference)

Latest revision as of 19:14, 11 September 2013

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