- Gets associated form (Light for Light spells, Actor for Summon Creature...), if any
Form Function GetAssociatedForm(MagicEffect akMagicEffect) global native
GetEffectArchetypeAsInt/String
Effect Archetypes
| Archetype |
Value |
| ValueMod |
0 |
| Script |
1 |
| Dispel |
2 |
| CureDisease |
3 |
| Absorb |
4 |
| DualValueMod |
5 |
| Calm |
6 |
| Demoralize |
7 |
| Frenzy |
8 |
| Disarm |
9 |
| CommandSummoned |
10 |
| Invisibility |
11 |
| Light |
12 |
| Darkness |
13 |
| NightEye |
14 |
| Lock |
15 |
| Open |
16 |
| BoundWeapon |
17 |
| SummonCreature |
18 |
| DetectLife |
19 |
| Telekinesis |
20 |
| Paralysis |
21 |
| Reanimate |
22 |
| SoulTrap |
23 |
| TurnUndead |
24 |
| Guide |
25 |
| WerewolfFeed |
26 |
| CureParalysis |
27 |
| CureAddiction |
28 |
| CurePoison |
29 |
| Concussion |
30 |
| ValueAndParts |
31 |
| AccumulateMagnitude |
32 |
| Stagger |
33 |
| PeakValueMod |
34 |
| Cloak |
35 |
| Werewolf |
36 |
| SlowTime |
37 |
| Rally |
38 |
| EnhanceWeapon |
39 |
| SpawnHazard |
40 |
| Etherealize |
41 |
| Banish |
42 |
| SpawnScriptedRef |
43 |
| Disguise |
44 |
| GrabActor |
45 |
| VampireLord |
46 |
- Get effect archetype as string or integer
int Function GetEffectArchetypeAsInt(MagicEffect akMagicEffect) global native
String Function GetEffectArchetypeAsString(MagicEffect akMagicEffect) global native
- Gets primary actor value as string, if any (FrostResist, SpeedMult).
String Function GetPrimaryActorValue(MagicEffect akMagicEffect) global native
- Gets secondary actor value as string, if any.
String Function GetSecondaryActorValue(MagicEffect akMagicEffect) global native
| Type |
Index |
| Draw/Sheathe |
0 |
| Charge |
1 |
| Ready |
2 |
| Release |
3 |
| Concentration Cast Loop |
4 |
| On Hit |
5 |
- Gets Sound attached to index of Sound type specified in magic effect.
SoundDescriptor Function GetMagicEffectSound(MagicEffect akMagicEffect, int aiType) global native
- Sets associated form (Light for Light spells, Actor for Summon Creature...).
- Can be None
Function SetAssociatedForm(MagicEffect akMagicEffect, Form akForm) global native
- Sets sound descriptor attached to index of Sound type specified in magic effect.
Function SetMagicEffectSound(MagicEffect akMagicEffect, SoundDescriptor akSoundDescriptor, int aiType) global native