Difference between revisions of "IsObjectiveFailed - Quest"
Jump to navigation
Jump to search
imported>Jlundin |
imported>Terra Nova2 m (< / source> was missing.) |
||
Line 22: | Line 22: | ||
Debug.Trace("You failed the objective!") | Debug.Trace("You failed the objective!") | ||
endIf | endIf | ||
</source> | |||
== See Also == | == See Also == | ||
*[[Quest Script]] | *[[Quest Script]] | ||
*[[SetObjectiveFailed - Quest]] | *[[SetObjectiveFailed - Quest]] |
Latest revision as of 10:26, 25 September 2014
Member of: Quest Script
Obtains whether the specified quest objective is failed or not.
Syntax[edit | edit source]
bool Function IsObjectiveFailed(int aiObjective) native
Parameters[edit | edit source]
- aiObjective: The objective to check.
Return Value[edit | edit source]
Whether the specified objective is failed or not.
Examples[edit | edit source]
; Is the second objective failed?
if HardQuest.IsObjectiveFailed(2)
Debug.Trace("You failed the objective!")
endIf