GetAssociatedSkill - MagicEffect

Member of: MagicEffect Script

Obtains the skill that this magic effect is associated with.

SyntaxEdit

string Function GetAssociatedSkill() native

ParametersEdit

None.

Return ValueEdit

The name of the skill the effect is associated with. Actor Value List

ExamplesEdit

; Is the MagicEffect in the school of Destruction?
if (effect.GetAssociatedSkill() == "Destruction")
  Debug.Trace("Destruction effect!")
endIf

See AlsoEdit