Difference between revisions of "GetSpellUsageNum"
Jump to navigation
Jump to search
imported>DavidJCobb (Just so no one goes looking through the Oblivion CS wiki for this one) |
imported>DavidJCobb (command's functionality verified through disassembly) |
||
Line 1: | Line 1: | ||
This condition function was introduced in Skyrim and accepts a Spell as its argument. Its purpose and return value are not known at this time. | This condition function was introduced in Skyrim; it runs on an [[Actor]] and accepts a [[Spell]] as its argument. Its purpose and return value are not known at this time. | ||
Disassembly indicates that it retrieves one of the [[Magic Effect|magic effects]] from the input spell (though we don't know which effect yet). The function then loops over all active effects on the subject reference, and sums the magnitudes of any active effect that uses the same base effect that was retrieved from the spell. The sum of those magnitudes is the function's return value. | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |
Latest revision as of 13:46, 23 July 2018
This condition function was introduced in Skyrim; it runs on an Actor and accepts a Spell as its argument. Its purpose and return value are not known at this time.
Disassembly indicates that it retrieves one of the magic effects from the input spell (though we don't know which effect yet). The function then loops over all active effects on the subject reference, and sums the magnitudes of any active effect that uses the same base effect that was retrieved from the spell. The sum of those magnitudes is the function's return value.