Difference between revisions of "GetQuestCompleted"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Yukichigai
imported>Gribbleshnibit8
m (Updated to function template)
 
Line 1: Line 1:
=='''Description'''==
{{Function
 
|origin = GECK1
Returns 1 if the quest is completed, otherwise 0.
|summary = Returns 1 if the quest is completed, otherwise 0.
 
|name = GetQuestCompleted
=='''Syntax'''==
|alias = GetQC
 
|returnType = int
  GetQuestCompleted ''QuestName''
|returnVal = IsCompleted
GetQC ''QuestName''
|arguments =  
  {{FunctionArgument
  |Name = QuestID
  |Type = ref
  |Optional = true
  }}
  |example = GetQuestCompleted QuestName
}}


=='''Notes'''==
=='''Notes'''==

Latest revision as of 14:57, 26 November 2014

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the quest is completed, otherwise 0.

Syntax

[help]
(IsCompleted:int) GetQuestCompleted QuestID:ref 

Or:

(IsCompleted:int) GetQC QuestID:ref

Example

GetQuestCompleted QuestName

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.