Advena
Just casually observing atm ;)
- Reaction score
- 42
Hi guys!
I have a trigger that's supposed to cast a Flame Strike on all units that are in a certain unit group, when a dummy spell is cast (based on Channel).
I've tried changing around ant testing things, but I can't get the dummy to cast the spell. From testing I know it creates the dummy, but after that it's anyones guess.
The order id of the spell I want the dummy to cast is "flamestrike". And I've tried changing it to something else to test, too.
This is the trigger in it's current state.
Anyone got any ideas?
Thanks in advance
//Advena
I have a trigger that's supposed to cast a Flame Strike on all units that are in a certain unit group, when a dummy spell is cast (based on Channel).
I've tried changing around ant testing things, but I can't get the dummy to cast the spell. From testing I know it creates the dummy, but after that it's anyones guess.
The order id of the spell I want the dummy to cast is "flamestrike". And I've tried changing it to something else to test, too.
This is the trigger in it's current state.
Code:
Channel Fire Chrystal
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fire Chrystal (Tower)
Actions
Unit Group - Pick every unit in ChrystalSelf_ug and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to (Owner of (Casting unit))
Then - Actions
Game - Display to (Player group((Owner of (Picked unit)))) the text: test muppet
Unit - Create 1 DummyCaster3000 for Neutral Hostile at (Position of (Picked unit)) facing (Random angle) degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Add ChannelFireChrystal (dummycast) to (Last created unit)
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike (Position of (Picked unit))
Else - Actions
Do nothing
Thanks in advance
//Advena