Background for Skyrim SE
Member of the MagicEffect script
stringfunctionGetAssociatedSkill()Native

Description

Wiki Description

Obtains the skill that this magic effect is associated with.

Documentation Comment

Get the Associated Skill for this MagicEffect


Caveats


Examples

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

Auto-Generated Example

string returnedValue = myMagicEffect__toCallFunctionOn.GetAssociatedSkill()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.