Difference between revisions of "LUA:SetAgiBase"
(Created page with "= LUA Functions: SetAgiBase() = Sets the base agility for the given spawn to the given value ==== Syntax ==== SetAgiBase(param1, param2) ==== Parameters ==== ; Required - ''p...") |
(No difference)
|
Latest revision as of 22:42, 11 September 2013
LUA Functions: SetAgiBase()
Sets the base agility for the given spawn to the given value
Syntax
SetAgiBase(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int16)
- param1 is the spawn who's base agility we want to change
- param2 is the value we want to set the base agility to
Usage
function hailed(NPC, Spawn)
SetAgiBase(Spawn, 40)
end
When the NPC is hailed the players base agility will be set to 40