| 10-06-2005, 12:55 AM | #1 |
I'm currently working on a map. In that map, you need to fire rockets. The rockets are summoned units that have autocast kaboom. The thing is, I want them to move horizontaly. I need to give them a target, but I want it to be as precise as possible, but I don't want to create hundreds of regions. Anyone got an idea? |
| 10-06-2005, 04:08 AM | #2 |
i dont know your event and such, but heres the action i would use Code:
Unit - Set rally-point to point Set rally-point for (Triggering unit)to (Position of (Last created unit)) offset by (-999999.00 , 0.00)) Im not garunteeing anything, but im pretty sure this should work! If my algebra is right, changing the X value to a negative number will make them go horizantally to the left, if you want them to go to the right, then set it as 999999 instead, this will just make it keep going 'till they hit the end of the map...i guess? Well, tell me how it works! |
| 10-06-2005, 07:08 PM | #3 | |
Quote:
Please be more specific. How is the target chosen? |
| 10-06-2005, 11:45 PM | #4 |
Thanks yuri, it worked! I had to replace "set rally point" with "issue order targeting a point", homewer. Thanks a lot! |
| 10-07-2005, 01:51 AM | #5 | |
then mone works perfectly, just use my action, excpet make it a positive 999999 not a negative! If you don't know the event, just do something like...if it's a spell Quote:
EDIT: Why won't the code funtion work! EDIT: or JASS, jeeze, this sucks look, this anti-spam funtion is getting REALLY annoying right now, i can;t even edit w/o waiting, please, if you read this Draco, TAKE IT OFF |
