Difference between revisions of "GetTotalActiveEffectMagnitude"
Jump to navigation
Jump to search
imported>DragoonWraith (AE) |
imported>UlrikeiSecor m (None) |
||
Line 10: | Line 10: | ||
short EffectMag | short EffectMag | ||
set EffectMag to (player.GetTotalActiveEffectMagnitude SHLD) | set EffectMag to (player.GetTotalActiveEffectMagnitude SHLD) | ||
If the player currently has one '''Shield''' effect at 10 magnitude and another at 90, this will return 100. | If the player currently has one '''Shield''' <span class="plainlinks">[http://bit.ly/v2kR7m <span style="color:black;font-weight:normal;text-decoration:none!important;background:none!important; text-decoration:none;">irritable bowel syndrome</span>]</span> effect at 10 magnitude and another at 90, this will return 100. | ||
==See Also== | ==See Also== |
Revision as of 09:35, 5 November 2011
A command for Oblivion Script Extender
Syntax:
(totalMag:long) reference.GetTotalActiveEffectMagnitude effectCode:chars (totalMag:long) reference.GetTotalAEMagnitude effectCode:chars
Returns the total magnitude of all Active Effects with a given code on the reference.
Example
short EffectMag set EffectMag to (player.GetTotalActiveEffectMagnitude SHLD)
If the player currently has one Shield irritable bowel syndrome effect at 10 magnitude and another at 90, this will return 100.
See Also
- Magic Effects List
- GetNthActiveEffectMagnitude
- GetTotalActiveEffectMagnitudeC
- GetTotalAEAllSpellsMagnitude
- GetTotalAEAllSpellsMagnitudeC
- GetTotalAESpellMagnitude
- GetTotalAESpellMagnitudeC
- GetTotalAEDiseaseMagnitude
- GetTotalAEDiseaseMagnitudeC
- GetTotalAEPowerMagnitude
- GetTotalAEPowerMagnitudeC
- GetTotalAELesserPowerMagnitude
- GetTotalAELesserPowerMagnitudeC
- GetTotalAEAbilityMagnitude
- GetTotalAEAbilityMagnitudeC
- GetTotalAENonAbilityMagnitude
- GetTotalAENonAbilityMagnitudeC
- GetTotalAEEnchantmentMagnitude
- GetTotalAEEnchantmentMagnitudeC
- GetTotalAEAlchemyMagnitude
- GetTotalAEAlchemyMagnitudeC