| 07-31-2009, 08:00 AM | #1 |
Im really a noob triggerer and I havnt found how to do this anywhere so I might aswell ask, cus my gate-system, if I may call it that really needs it. Im sorry for all the hard feeling ;) My question: I need a area to be created ingame (if I may express my self this way) so that every unit infront/behind the gate gets moved instantly forward/backwards from the gate so they dont get stuck on pathing. so the tecnical question: Howw do I pick every unit from position of a unit within x y region infront of that unit, and another region behind. the gate can have any angle so this I guess make every thing a whole lot harder. thx for your time, I hope I made myself understood. edit** I can't post the trigger right now as Im not at home, but if you really need it I could get it later for you. |
| 07-31-2009, 10:09 AM | #2 |
I'm not quite sure if I understand you correctly... You want to move all units in front of the gate to be behind it, and vice-versa? |
| 07-31-2009, 03:27 PM | #3 |
heh, exacly I already got a variable gate[loopintegerA] |
| 08-01-2009, 09:49 AM | #4 |
dubblepost**bumpish: anyone have a answer to this? ;< |
| 08-01-2009, 11:31 AM | #5 |
Trigger: Set TempRegion = (Region centered at (Position of <Your Unit>) with size (100.00, 100.00))EDIT: It's under Conversion - Convert Point With Size To Region. |
| 08-03-2009, 06:02 AM | #6 |
You could pre-place marker units behind and in front of the gates, and use an Enum to select all units near the marker and move them to an equal distance from the other marker. |
