Difference between revisions of "GetTotalActiveEffectMagnitudeC"
Jump to navigation
Jump to search
imported>Haama (→See Also: Fix) |
imported>DragoonWraith (AE) |
||
Line 42: | Line 42: | ||
[[Category:Magic Functions]] | [[Category:Magic Functions]] | ||
[[Category:Magic Functions (OBSE)]] | [[Category:Magic Functions (OBSE)]] | ||
[[Category:Magic Functions - Active Effect (OBSE)]] |
Latest revision as of 19:51, 1 March 2008
A command for Oblivion Script Extender
Syntax:
(totalMag:long) reference.GetTotalActiveEffectMagnitudeC effectCode:long (totalMag:long) reference.GetTotalAEMagnitudeC effectCode:long
Returns the total magnitude of all Active Effects with a given code on the reference.
Example
short EffectMag long EffectCode set EffectCode to (GetMagicEffectCode SHLD) set EffectMag to (player.GetTotalActiveEffectMagnitude EffectCode)
If the player currently has one Shield effect at 10 magnitude and another at 90, this will return 100.
See Also[edit | edit source]
- Magic Effects List
- GetNthActiveEffectMagnitude
- GetTotalActiveEffectMagnitude
- GetTotalAEAllSpellsMagnitude
- GetTotalAEAllSpellsMagnitudeC
- GetTotalAESpellMagnitude
- GetTotalAESpellMagnitudeC
- GetTotalAEDiseaseMagnitude
- GetTotalAEDiseaseMagnitudeC
- GetTotalAEPowerMagnitude
- GetTotalAEPowerMagnitudeC
- GetTotalAELesserPowerMagnitude
- GetTotalAELesserPowerMagnitudeC
- GetTotalAEAbilityMagnitude
- GetTotalAEAbilityMagnitudeC
- GetTotalAENonAbilityMagnitude
- GetTotalAENonAbilityMagnitudeC
- GetTotalAEEnchantmentMagnitude
- GetTotalAEEnchantmentMagnitudeC
- GetTotalAEAlchemyMagnitude
- GetTotalAEAlchemyMagnitudeC