Talk:SetNthActiveEffectMagnitude

From the Oblivion ConstructionSet Wiki
Revision as of 13:56, 15 December 2007 by imported>FritZ FretZ (syntax unclear?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I'm probably just being a bit thick, but the way I read this syntax:

(magnitude:long) reference.SetNthActiveEffectMagnitude whichEffect:long (magnitude:long) reference.SetNthAEMagnitude whichEffect:long

makes it sound like (magnitude:long) is a returned value, or at best that my use of the function should look like:

  10 myRef.SetNthActiveEffectMagnitude 3

whereas, if typical function syntax is followed, I'd assume the correct usage would be:

  myRef.SetNthActiveEffectMagnitude 3, 10

in which case I'd suggest modifying the article to read:

reference.SetNthActiveEffectMagnitude whichEffect:long, (magnitude:long) reference.SetNthAEMagnitude whichEffect:long, (magnitude:long)

FritZ