Difference between revisions of "LUA:SetStrBase"
(Created page with "= LUA Functions: SetStrBase() = Sets the base strength of the given spawn ==== Syntax ==== SetStrBase(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Spawn), ''...") |
(No difference)
|
Latest revision as of 13:36, 12 September 2013
LUA Functions: SetStrBase()
Sets the base strength of the given spawn
Syntax
SetStrBase(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int16)
- param1 is the spawn we want to modify
- param2 is the amount we want to modify by
Usage
function hailed(NPC, Spawn)
SetStrBase(Spawn, 1234)
end
When this NPC is hailed the players base strength will be set to 1234