Difference between revisions of "LUA:Deleted"

(Created page with "This function will be called when you delete a quest from the journal. ==== Syntax ==== Deleted(Quest, QuestGiver, Player) ==== Usage ==== <pre> function Deleted(Quest, QuestGi...")
 
(No difference)

Latest revision as of 14:26, 7 May 2013

This function will be called when you delete a quest from the journal.

Syntax

Deleted(Quest, QuestGiver, Player)

Usage

function Deleted(Quest, QuestGiver, Player)
   Say(Player, "I deleted the quest!")
end

The player that deleted the quest will say "I deleted the quest!"

Notes

QuestGiver is a spawn, and it is possible to be null so it needs to be checked if you plan to use it.


Back to LUA Quests Index