Difference between revisions of "ModObjectiveGlobal - Quest"

m
→‎Syntax: changed value to GetValue() to make the function a little faster.
imported>Thingy Person
imported>Lisselli
m (→‎Syntax: changed value to GetValue() to make the function a little faster.)
 
Line 13: Line 13:
if aiObjectiveID >= 0
if aiObjectiveID >= 0
if afTargetValue > -1
if afTargetValue > -1
if (abCountingUp && aModGlobal.value >= afTargetValue) || (!abCountingUp && aModGlobal.value <= afTargetValue)
if (abCountingUp && aModGlobal.GetValue() >= afTargetValue) || (!abCountingUp && aModGlobal.GetValue() <= afTargetValue)
if (abCompleteObjective)
if (abCompleteObjective)
SetObjectiveCompleted(aiObjectiveID)
SetObjectiveCompleted(aiObjectiveID)
Anonymous user