Background for Fallout 4
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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.