Background for Skyrim SE
Member of the PO3_SKSEFunctions script
boolfunctionActorInRangeHasEffect(ObjectReferenceakRef, floatafRadius, MagicEffectakEffect, boolabIgnorePlayer)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Returns true if an actor within range of the reference has the specified magic effect.

Caveats


Parameters

ObjectReferenceakRef

floatafRadius

MagicEffectakEffect

boolabIgnorePlayer


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
float myFloat__afRadius
MagicEffect myMagicEffect__akEffect
bool myBool__abIgnorePlayer

bool returnedValue = PO3_SKSEFunctions.ActorInRangeHasEffect(myObjectReference__akRef, myFloat__afRadius, myMagicEffect__akEffect, myBool__abIgnorePlayer)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

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