- Joined
- Jul 30, 2007
- Messages
- 888
Hi guys, I am trying to make a scatter shot spell where the hero fires one large arrow at a unit and it splits into a bunch of smaller arrows that hit units nearby the primary target.
I thought the easiest way to do this would be to use poison bomb and change the initial damage to the amount that I want for the big arrow to do and change all the secondary damage to 0, but make a custom buff that it gives to the primary unit that has no art and no effect is and just a sort of marker buff.
Then in my trigger I had it check the target unit of ability being cast for the custom buff, and when the target unit gets the buff (right when it is struck by the big main arrow) the trigger would create a dummy caster at the location of the target unit of ability being cast. The dummy unit would then cast a custom fan of knives spell with the smaller arrows for the missile art, you cant imagine this and see that it would produce the wanted effect of the spell.
However I cant seem to get the dummy unit to cast the spell so I am wondering how you make non-hero dummy units cast custom spells instead of the ones that are already in the game because when you select from the list of spells for him to cast your custom spells aren't there and you cant switch into a custom list. So can someone please tell me how to make dummy units cast custom spells.
I thought the easiest way to do this would be to use poison bomb and change the initial damage to the amount that I want for the big arrow to do and change all the secondary damage to 0, but make a custom buff that it gives to the primary unit that has no art and no effect is and just a sort of marker buff.
Then in my trigger I had it check the target unit of ability being cast for the custom buff, and when the target unit gets the buff (right when it is struck by the big main arrow) the trigger would create a dummy caster at the location of the target unit of ability being cast. The dummy unit would then cast a custom fan of knives spell with the smaller arrows for the missile art, you cant imagine this and see that it would produce the wanted effect of the spell.
However I cant seem to get the dummy unit to cast the spell so I am wondering how you make non-hero dummy units cast custom spells instead of the ones that are already in the game because when you select from the list of spells for him to cast your custom spells aren't there and you cant switch into a custom list. So can someone please tell me how to make dummy units cast custom spells.