No categories assigned

LUA:GetIntBase

Revision as of 22:49, 19 August 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: GetIntBase() = Gets the base intelligence for the given spawn ==== Syntax ==== GetIntBase(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: GetIntBase()

Gets the base intelligence for the given spawn


Syntax

GetIntBase(param1)


Parameters

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


Usage

function hailed(NPC, Spawn)
    Say(NPC, "Your base intelligence is " .. GetIntBase(Spawn) .. ".")
end

When the owner of this spawn script is hailed it will respond with the players base intelligence.