The spell is this: I've given a building a spell that I built from the "Reveal" spell, you can target it anywhere on the map, it gives a shiny animation and it's supposed to spawn 5 units of my choice to that target point.
The spell naturally doesn't do anything other than give the animation I've chosen to the target location, the units are spawned by a trigger, and this is my trigger:
Anyway the problem is clearly that the trigger doesn't realize where to target the spawning point for those 5 units, because no matter where the spell is targeted, the units always spawn at the center of the map. How to fix this?
The spell naturally doesn't do anything other than give the animation I've chosen to the target location, the units are spawned by a trigger, and this is my trigger:
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Blablabla
-
-
Actions
-
Unit - Create 5 Blablabla for (Owner of (Triggering unit)) at (Target point of ability being cast) facing 270.00 degrees
-
Anyway the problem is clearly that the trigger doesn't realize where to target the spawning point for those 5 units, because no matter where the spell is targeted, the units always spawn at the center of the map. How to fix this?