No categories assigned

LUA:Deleted

Revision as of 14:26, 7 May 2013 by Thefoof (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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