Make a copy of the XMarkerHeading base object and name it whatever. Then create an FFSelfArea spell and attach this script to it:
STATIC property akInvisibo autoOBJECTREFERENCE victimEvent OnEffectStart (actor akTarget, actor akCaster)akTarget.placeatme(akInvisibo, 1)victim = Game.FindClosestReferenceOfTypeFromRef(akInvisibo, akCaster, 2048)EndEvent
If you wanted to find the closest three, you can append:
actor Target1 = Game.FindClosestActorFromRef(Victim, 5.0)victim.disablenowait()victim = Game.FindClosestReferenceOfTypeFromRef(akInvisibo, akCaster, 2048)actor Target2 = Game.FindClosestActorFromRef(Victim, 5.0)victim.disablenowait()victim = Game.FindClosestReferenceOfTypeFromRef(akInvisibo, akCaster, 2048)actor Target3 = Game.FindClosestActorFromRef(Victim, 5.0)
This is a relatively slow method, but may have uses. Adjust values up for wider area and lower for more speed, etc.
