No categories assigned

LUA:AddIconValue


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