GetQuestCompleted

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns 1 if the quest has been marked complete with CompleteQuest OR has been failed, 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 true even if the quest has been halted using StopQuest or similar, so long as the quest has also been marked complete using CompleteQuest.
  • To work around how this returns true if the quest was completed via failure, GetQuestFailed can be used to differentiate how the quest was completed.

See Also