No categories assigned
LUA:SummonItem
- Last edited 12 years ago by I need to Update My Profile
Gives an item to a target, the last parameter (1 for true 0 for false) sets whether to show a message on receiving the item. Also returns a true or false if the item was summoned.
Syntax
SummonItem(target, item_id, bool)
Usage
function TalkedYasha(Quest, QuestGiver, Player)
SummonItem(Player, 46842, 1)
end
When the function TalkedYasha is called SummonItem will give the player the item makeshift barricade and show the message "you receive [makeshift barricade]".