Difference between revisions of "ModObjectiveGlobal - Quest"

Jump to navigation Jump to search
imported>Thingy Person
imported>Thingy Person
Line 7: Line 7:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
bool Function ModObjectiveGlobal(float afModValue, GlobalVariable aModGlobal, int aiObjectiveID = -1, float afTargetValue = -1.0, bool abCountingUp = true,  
bool Function ModObjectiveGlobal(float afModValue, GlobalVariable aModGlobal, int aiObjectiveID = -1, float afTargetValue = -1.0, \
bool abCompleteObjective = true, bool abRedisplayObjective = true)
  bool abCountingUp = true, bool abCompleteObjective = true, bool abRedisplayObjective = true)
aModGlobal.Mod(afModValue)
aModGlobal.Mod(afModValue)
UpdateCurrentInstanceGlobal(aModGlobal)
UpdateCurrentInstanceGlobal(aModGlobal)

Navigation menu