ok, for my map "The Black Abyss" you stumble to the domain of the Demon Lord Archaion, The Temple of HellFire.In This level he Orders his Fire Callers to summon a FireStorm and Incinerate the Heroes. Now for the whole trigger script for this firestorm. now wen i thought of it,it would be multiple burning oil missles roll down from high altar. now normally i would just use a trigger action of creating a burning oil missle as a unit,then ordering it to move to a region where it would die and then repeat.
The problems are: -even tho im pretty familiar with triggers, i dont know how to make it so that when a unit gets hit by one, it makes em fly back to a certain point and take some damage
-and if there is a simpler way to order them to go down in a striaght line then jus constantly using the "order [last created unit] to region [bleh, u get the idea.]
make a seperate trigger that moves the hit unit to a point with polar offset instantly every 0.03 sec (position of 'hit unit' facing 'the fireball' offset by 30 (or higher when u want it to sl;ide faster) and turn this trigger off after X seconds
to make it fly, make another seperate trigger and just change flying height at 'animation' triggers (before u do, in this trigger add and immedeately after remove the crow form ability, so it turns into a flying unit)
Thanks that really helped! , but do i have to have storm crow as one of the unit's abilities in the object editor,or can just give the ability to it in a trigger?....also will it actually make the units "slide" or just move instantly to that certain point?
about the slide, yes it moves the unit instantly, but only a little distance, so if u move the unit alittle distance every 0.03 seconds, it looks like its sliding. every1 uses this way (if they dont use JASS)
Generally, you have to tell the [whatever] WHEN to garbage collect (often when there are no more references it will automatically do it) so, in anything with more than just numbers, you will get leaks if you let them go.