- Found in:
- Vanilla
Description
Wiki Description
Checks to see if this actor is currently being affected by the given Magic Effect.
Documentation Comment
Checks to see if this actor is currently being affected by the given Magic Effect
Parameters
MagicEffectakEffect
CK Wiki Description
The MagicEffect to check.
Examples
; Does the player have rockjoint?
if (Game.GetPlayer().HasMagicEffect(RockjointEffect))
Debug.Trace("The player has rockjoint")
endIfAuto-Generated Example
MagicEffect myMagicEffect__akEffect
bool returnedValue = myActor__toCallFunctionOn.HasMagicEffect(myMagicEffect__akEffect)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
