| 05-26-2004, 07:39 PM | #1 |
Greetings, Trigger: event: every .5 seconds conditions: none actions: pick every unit range matching within 100 of position of player 1 offset by 1100 towords (angle) degrees matching owner of matching unit equal to player 12 I need to know how to have every angle included in the (angle) part of the trigger, aka 360 degrees... i'm not quite sure how to do this. There is no "every angle" option, and the trigger won't work without it. Help! |
| 05-26-2004, 08:15 PM | #2 |
event: every .5 seconds conditions: none actions: pick every unit range matching within 1100 of position of player 1 matching owner of matching unit equal to player 12 |
| 05-26-2004, 08:21 PM | #3 |
Lord Osiris, I have no idea on Earth what you are talking about. But kelena, you need a for loop to accomplish this. Do something like this For each integer A from 1 to 360 actions: pick every unit range matching within 100 of position of player 1 offset by 1100 towords Integer A degrees matching owner of matching unit equal to player 12 So that for each number from 1 to 360 the game substitutes in that number for the angle. |
| 05-27-2004, 06:59 PM | #4 |
It works, but its waaay too laggy, so i'll figure out some other way to do it. Thanks oh, i gave you your rep. points. |
