Difference between revisions of "GetQuestCompleted"

340 bytes added ,  14:57, 26 November 2014
m
Updated to function template
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Gribbleshnibit8
m (Updated to function template)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
|origin = GECK1
|summary = Returns 1 if the quest is completed, otherwise 0.
|name = GetQuestCompleted
|alias = GetQC
|returnType = int
|returnVal = IsCompleted
|arguments =
  {{FunctionArgument
  |Name = QuestID
  |Type = ref
  |Optional = true
  }}
|example = GetQuestCompleted QuestName
}}


Returns 1 if the quest is completed, otherwise 0.
=='''Notes'''==
 
* This function does not require the quest to be running, and will return the correct value if the quest has been halted using [[StopQuest]] or similar.
=='''Syntax'''==
 
GetQuestCompleted ''QuestName''
GetQC ''QuestName''


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Quest Functions]]
[[Category:Quest Functions]]
[[Category:Quest Functions (GECK 1.0)]]
[[Category:Quest Functions (GECK 1.1)]]