You are viewing an old version of this page. Return to the latest version.
Version of 16:03, 6 May 2013 by I need to Update My Profile
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.
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]".