This is really freaking me out.
I have a dummy spell (based on channel) and a trigger.
Once the spell is cast the trigger is supposed to create some Tree Wall destructibles.... but it is not working... I am using polar offset from where the ability is targeting as the point but it keeps defaulting to the center of the map for some reason... it is really annoying...
here is the trigger....
I have a dummy spell (based on channel) and a trigger.
Once the spell is cast the trigger is supposed to create some Tree Wall destructibles.... but it is not working... I am using polar offset from where the ability is targeting as the point but it keeps defaulting to the center of the map for some reason... it is really annoying...
here is the trigger....
-
Nature Tree Spawn
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Nature Stimulation
-
Actions
- Set TempPoint = (Target point of ability being cast)
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
- Destructible - Create a Tree Wall at (TempPoint offset by (Random real number between 25.00 and 50.00) towards (Random real number between 1.00 and 359.00) degrees) facing (Random angle) with scale (Random real number between 0.80 and 1.20) and variation (Random integer number between 1 and 10)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_TempPoint)
-
Events