GetAssociatedSkill - MagicEffect

From the CreationKit Wiki
Revision as of 13:54, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: MagicEffect Script

Obtains the skill that this magic effect is associated with.

Syntax[edit | edit source]

string Function GetAssociatedSkill() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]