| 01-15-2007, 09:35 PM | #1 |
when i want to use a trigger to make a unit use an ability like undead carriow swarm, the projectile dose not go striaght. Heres my trigger Trigger: down arrow shoot
![]() Conditions
![]() |
| 01-15-2007, 09:39 PM | #2 |
edit: i don't quite understand what the ability is, changing the offset to something much larger would probably change the problem too. |
| 01-15-2007, 09:42 PM | #3 |
I had the same problem. If you put a high cast range and a high distance then the projectile won't go straight. Try to use lower values. |
| 01-15-2007, 09:46 PM | #4 |
hmm, i think i might understand whats goin on here (maybe) by straight you mean, off to the side instead of at the target? how bout adding a unit rotation action and then waiting till the the unit is facing its target to use the spell? ![]() |
| 01-15-2007, 10:08 PM | #5 |
well... im going to take my trigger and break it down a lil and the "projectile" dose not go inaline with the faceing angle of the unit, tried making off set bigger and smaller.... |
| 01-15-2007, 10:24 PM | #6 |
Oh.....well i honestly dont know whats wrong here, because i made a map real quick to test the trigger and it worked fine for me.. Trigger: Dont know whats wrong, it worked at 200 for me, if you tried the longer distance, maybe its your abilities maximum cast range? |
| 01-15-2007, 11:04 PM | #7 |
i made a map with the trigger and my unit, here, please thake a look |
| 01-15-2007, 11:25 PM | #8 |
hehe i found your problem, your trigger was messy, change it to this, you have to make one for every player i guess, for it to work more efficiently. Trigger: This one works but it doesnt shoot straight, it shoots kinda off, maybe you want that? haha so its not so easy to hit somebody i dont know, but the one above is more accurate. |
| 01-16-2007, 12:17 AM | #9 |
nope still dosent work! i even made a trigger that created a dummy unit told it to cast it, and then remove the dummy unit from game. dosent work... ![]() |
| 01-16-2007, 12:37 AM | #10 |
It worked perfect for me. did you copy the top trigger exactly? because i tested that and it never went off to the side at all.....the second trigger doesnt shoot straight for some reason tho. |
| 01-16-2007, 07:40 AM | #11 |
if you're trying to hit a moving target, you might wanna get its bearings, or - calculate his next position and fire there... i don't have WC3 here at the moment so i can't really batch up a trigger, but the equation is something like this: if your casting time is one second, the moving speed of the target unit is 200, and the facing of the target unit is 90 (or east), to hit it straigth, you'd have to cast your thing 200 points to the east in order to hit it (presuming it won't change directions or stop) but you shouldn't have any problems hitting it with carrion swarm unless it stops... or i got it all wrong and you're just trying to accomplish something else ? |
| 01-16-2007, 02:12 PM | #12 |
didnt really get what you just said, and 90 degrees is north btw but what he wants to do is..he has this tank for every player and he wants it to use carrion swarm straight ahead whenever you press the down button, i already made the trigger for him and it works fine.. but he says its giving him problems O_o |
| 01-16-2007, 06:58 PM | #13 |
i tested it twice.. if you just test it and click the shoot button it goes stright.. but move it around it goes in directions from 45 to 135. Like the top half of a circle. And yes im talking about the one that you said worked is there a ability i can base it off of besides carriow swarm? an ability that when use it automaticly shoots infrom of you? |
| 01-16-2007, 11:55 PM | #14 |
i dont understand why it wont work for you, i moved my tank around a whole lot and it would work, maybe try basing it off of shockwave? but then it will dent the terrain, and if you dont like that then im not sure what you'd do... |
