i don't know if you get the title at all, so I will try to explain better: what I'm trying to do is that on certain point a dummy (or dummies) will cast something that targets a point (like Shockwave) in different angles, so it may end at least like a cross. I've tried different ways:
At first I made Setting to integer A from 1 to 4, then create 1 dummy at X, facing (Integer A x 90) degrees, then I make Pick every unit of type Dummy in X area (Until this point I think I have no problem) - After that I make Add "Skill" to Picked unit and order to cast the skill at (Integer A x 90) However it didn't work. In the loop of integer A were all the triggers btw.
Then I reversed Pick and Integer A actions. I created four units at same time then Picked them and inside the unit group actions were: -Add Skill to picked unit. -For loop Integer A from 1 to 4. Then inside the Integer loop was order to cast at (Integer A x 90) and it didn't work either.
My last options were create 1 unit only and then order it inside the Integer A loop to cast the skill same as before (Integer A x 90) but it casted the spell only in one point. The other option was to create 4 dummies then set variable for each one and order each one, but I know there should be an easier option.
Thanks in advance
At first I made Setting to integer A from 1 to 4, then create 1 dummy at X, facing (Integer A x 90) degrees, then I make Pick every unit of type Dummy in X area (Until this point I think I have no problem) - After that I make Add "Skill" to Picked unit and order to cast the skill at (Integer A x 90) However it didn't work. In the loop of integer A were all the triggers btw.
Then I reversed Pick and Integer A actions. I created four units at same time then Picked them and inside the unit group actions were: -Add Skill to picked unit. -For loop Integer A from 1 to 4. Then inside the Integer loop was order to cast at (Integer A x 90) and it didn't work either.
My last options were create 1 unit only and then order it inside the Integer A loop to cast the skill same as before (Integer A x 90) but it casted the spell only in one point. The other option was to create 4 dummies then set variable for each one and order each one, but I know there should be an easier option.
Thanks in advance