Warcraft III resources & community, 2003–2006 · archived

Need help With Level

22 posts
#1

Need help With Level

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.]

so any help would be great :D
#2
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)

for the order thing, no, thats the easiest way :P
#3
Thanks that really helped! :D , 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? :?
#4
u have to add and remove with triggers ofcourse :)

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)
#5
yea,i have no idea how to use jass,so ill go with the first option, cuz i just want them to slide far enough not to get hit by the missile again, thnx :D
#6
>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

is it any different from what people do with jass? i guess not.
#7
low-life>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

is it any different from what people do with jass? i guess not.


well is it? i dont know i rly dont like JASS xD but i think JASS doesnt have leaks and all that kind of stuff
#8
i think you stop speaking about things you have no idea about.
#9
hhe :P yea maybe
#10
Aye, agreed

If JASS didnt have leaks, i wouldnt use it, as it would be useless.
#11
PurplePootAye, agreed

If JASS didnt have leaks, i wouldnt use it, as it would be useless.


? i dont understand. isnt it good when it has no leaks? :?
#12
If it had no leaks, the only things in existence would be

Integers

Booleans

Reals

and

Codes
#13
>If it had no leaks, the only things in existence would be
what?

jass's only problem is grabage collection. If blizzard did better job writing interpreter, you'd have the same thing only without leaks.
#14
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.
#15
so what you're saying is perl, lua, c#, php (and lots of other laguages with garbage collection) leak too?