Difference between revisions of "LUA:AddIconValue"
(Created page with "{{LUAFunction |Name = AddIconValue |Description = Adds the icon value. |Param1 = Spawn |Param1Desc = is the spawn we want to add to. |Param2 = sint32 |Param2Desc = is the icon...") |
(No difference)
|
Latest revision as of 10:57, 19 June 2022
LUA:AllFunctions - AddIconValue
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Adds the icon value.
Syntax
AddIconValue(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (sint32)
- param1 is the spawn we want to add to.
- param2 is the icon id we want to add.
Example
function hailed(NPC, Player) AddIconValue(Player, 1) end
An NPC with this script will add the icon value of 1