No categories assigned

LUA:GetAgiBase

LUA Functions: GetAgiBase()

Returns the base agility of the given spawn.


Syntax

var = GetAgiBase(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn we are getting the base agi for


Usage

function hailed(NPC, Spawn)
    Say(NPC, "Your base agility is " .. GetAgiBase(Spawn) .. "!")
end

This makes the NPC respond to the player who hails it with the players base agility.