Difference between revisions of "MagicEffect Script"
m
cleaned up a few errors and added additional descriptions.
imported>CraftySentinel (Added SKSE 1.7.0 functions) |
imported>Egocarib m (cleaned up a few errors and added additional descriptions.) |
||
Line 37: | Line 37: | ||
:*Checks to see if the specified flag is set (See [[MagicEffect Script#Notes|Notes]] for list of flags) | :*Checks to see if the specified flag is set (See [[MagicEffect Script#Notes|Notes]] for list of flags) | ||
:'''[[ | :'''[[SetEffectFlag - MagicEffect|SetEffectFlag]](Int ''flag'')''' | ||
:*Sets the specified flag. | :*Sets the specified flag. | ||
:'''[[ | :'''[[ClearEffectFlag - MagicEffect|ClearEffectFlag]](Int ''flag'')''' | ||
:*Clears the specified flag. | :*Clears the specified flag. | ||
Line 128: | Line 128: | ||
:'''Spell [[GetEquipAbility - MagicEffect|GetEquipAbility]]()''' | :'''Spell [[GetEquipAbility - MagicEffect|GetEquipAbility]]()''' | ||
:* | :*Returns the Ability-Type spell that is applied to the actor who equips a spell or enchanted item that uses this Magic Effect. | ||
:'''[[SetEquipAbility - MagicEffect|SetEquipAbility]](Spell ''obj'')''' | :'''[[SetEquipAbility - MagicEffect|SetEquipAbility]](Spell ''obj'')''' | ||
:* | :*Sets the Equip Ability of this Magic Effect. | ||
:'''ImageSpaceModifier [[GetImageSpaceMod - MagicEffect|GetImageSpaceMod]]()''' | :'''ImageSpaceModifier [[GetImageSpaceMod - MagicEffect|GetImageSpaceMod]]()''' | ||
Line 140: | Line 140: | ||
:'''Perk [[GetPerk - MagicEffect|GetPerk]]()''' | :'''Perk [[GetPerk - MagicEffect|GetPerk]]()''' | ||
:* | :*Returns the Perk that is applied to actors who are affected by this active effect. | ||
:'''[[SetPerk - MagicEffect|SetPerk]](Perk ''obj'')''' | :'''[[SetPerk - MagicEffect|SetPerk]](Perk ''obj'')''' | ||
:* | :*Sets the Perk to be applied to actors who are affected by this active effect. | ||