Difference between revisions of "LUA:GetIntBase"

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

Latest revision as of 22:49, 19 August 2013

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.