Difference between revisions of "LUA:GetWisBase"

(Created page with "= LUA Functions: GetWisBase() = Gets the base wisdom of the given spawn ==== Syntax ==== var = GetWisBase(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''par...")
 
(No difference)

Latest revision as of 19:32, 11 September 2013

LUA Functions: GetWisBase()

Gets the base wisdom of the given spawn


Syntax

var = GetWisBase(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn who's base wisdom we want to get


Usage

function hailed(NPC, Spawn)
    Say(NPC, "Your base wisdom is: " .. GetWisBase(Spawn))
end

The NPC will respond with the players base wisdom

Notes

Returns an int32