GetTotalActiveEffectMagnitude
Revision as of 00:34, 26 November 2007 by imported>Haama (→See Also: Added code links)
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 effect at 10 magnitude and another at 90, this will return 100.
See Also
- Magic Effects List
- GetTotalActiveEffectMagnitude
- GetTotalActiveEffectMagnitudeC
- GetTotalAEAllSpellsMagnitude
- GetTotalAEAllSpellsMagnitudeC
- GetTotalAESpellsMagnitude
- GetTotalAESpellsMagnitudeC
- GetTotalAEDiseaseMagnitude
- GetTotalAEDiseaseMagnitudeC
- GetTotalAEPowerMagnitude
- GetTotalAEPowerMagnitudeC
- GetTotalAELesserPowerMagnitude
- GetTotalAELesserPowerMagnitudeC
- GetTotalAEAbilityMagnitude
- GetTotalAEAbilityMagnitudeC
- GetTotalAENonAbilityMagnitude
- GetTotalAENonAbilityMagnitudeC
- GetTotalAEEnchantmentMagnitude
- GetTotalAEEnchantmentMagnitudeC
- GetTotalAEAlchemyMagnitude
- GetTotalAEAlchemyMagnitudeC