| 02-27-2004, 02:19 PM | #1 |
I'm making a td.. it's quite stupid I know, but I need to learn TO BECOME THE ULTIMATE MASTER! ok here's what i have problems with :f a shikky shikkt slakka boot-leg trigger anyways the problemis that the units go straight for <Turn2> instead of <Turn1> o_O maybe sound stupid but so am i. so help if u like (Turn11 means first turn first player, Turn 12 first turn second player etc.) Code:
Events
Unit - A unit enters Turn11 <gen>
Unit - A unit enters Turn12 <gen>
Unit - A unit enters Turn13 <gen>
Unit - A unit enters Turn21 <gen>
Unit - A unit enters Turn22 <gen>
Unit - A unit enters Turn23 <gen>
Actions
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entering unit) is in UnitGroupSpawn[(Integer A)]) Equal to True
Then - Actions
Unit Group - Add (Entering unit) to UnitGroup1stTurn[(Integer A)]
Unit Group - Remove (Entering unit) from UnitGroupSpawn[(Integer A)]
Else - Actions
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entering unit) is in UnitGroup1stTurn[(Integer A)]) Equal to True
Then - Actions
Unit Group - Add (Entering unit) to UnitGroup2ndTurn[(Integer A)]
Unit Group - Remove (Entering unit) from UnitGroup1stTurn[(Integer A)]
Else - Actions
Trigger - Run Movement <gen> (checking conditions)thats it.. ;d Also the Movement trigger is Code:
Actions
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit Group - Pick every unit in UnitGroupSpawn[(Integer A)] and do (Unit - Order (Picked unit) to Move To (Center of Region1stTurn[(Integer A)]))
Unit Group - Pick every unit in UnitGroup1stTurn[(Integer A)] and do (Unit - Order (Picked unit) to Move To (Center of Region2ndTurn[(Integer A)]))
Unit Group - Pick every unit in UnitGroup2ndTurn[(Integer A)] and do (Unit - Order (Picked unit) to Move To (Center of ExitRegion[(Integer A)]))Thank you very much if you are able to locate my error.. :( |
| 02-27-2004, 02:45 PM | #2 |
Srry but i couldnt add this to the original topic.. here's the problem |
| 02-27-2004, 05:43 PM | #3 |
Part of the problem might be that your regions are too small. I had a problem with units not recognizing a region if it was too small. Also you might check that they are going to the right region, it looks like they may just be turning the corner on the way to another region. |
| 02-27-2004, 07:38 PM | #4 |
I remade the entire triggers cos they were filled with bugs.. :o now it works.. i just dont understand how the **** the units would just turn in the middle of nothing when there wasn't even a region for them.. well maybe *cough* blizzard pathing.. and also weird triggers-... :D also they have collision size 1 so i dont think walking on that (relatively huge) region is a problem :D |
