HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

bs trigger

08-09-2005, 06:10 PM#1
duckduck
i'm having trouble with a trigger that polymorphs an allied unit for damageing an ally with a spell such as flamestrike or something.
the only problem i have with this trigger is finding out the event and conditions for that trigger
08-09-2005, 07:09 PM#2
vile
the flamestrike spell is just like any other spell. just use a unit start casting an ability/ability being cast = flamestrike, action - create dummy, add polymorph, and polymorph. conditions of course of "if target unit of ability being cast belong to an enemy of owner of casting unit" boolean.
08-09-2005, 07:42 PM#3
Vexorian
Starts the effect of an ability would fire when the unit starts channeling flamestrike, the end of flamestrike is finishes casting an ability (but Target Point of abiliy being cast won't work) so you'll have to combine both events one to save the target and the other one to do the stuff
08-09-2005, 08:03 PM#4
duckduck
but i don't want them to be polymorphed if they cast it on an enemy
08-12-2005, 03:45 PM#5
oNdizZ
thats why vile wrote this:

Quote:
Originally Posted by vile
...conditions of course of "if target unit of ability being cast belong to an enemy of owner of casting unit" boolean.


but. this wont work with flame strike since its an aoe spell. so you cant really check if the player aims for an enemy and the ally just happen to be at the same spot or not.