About the spells:
Frost damage spell - Range: Target
Fire damage spell - Range: Target
Shock damage spell - Range: Target
Each NPC casts a different spell, either frost, fire or shock damage. The spell itself has been created for the individual NPC so no other actors make use of it.
The NPC's are supposed to cast their own unique spell at a target specifically asigned to them. However, the base ID of the targets is the same: TargetHeavy01
The NPC's are supposed to walk to their own xMarkerHeading before they will cast their spell at their target.
I've tried all different options in te AI Packages "Cast Magic" and "Use item at" of which the last one is used by some apprentices at the Arcane University.
All in all, it comes down to this: How can I create a properly working AI package for NPC's to cast a spell at a target?