• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

.HELP PLS..how can i fix a bug...

Status
Not open for further replies.
Level 7
Joined
Nov 10, 2012
Messages
229
i have little problem w/c i dont know how to fix it:

problem:
i made patrol groups in different area and met in one region.but my problem they stock each other in that region.

group 1 patrol into region A to B
group 2 patrol into region B to D

but they stock on to B region, i try to reduce their collision size but still they are stocking in one place...
i also try to widen the size and reduce the size of the region
i also try to widen the area where the region B is located..

both groups are spawn in different region, only they meet in region B.

How can i fixed this?
:ogre_haosis::ogre_haosis:
 
Level 6
Joined
Nov 24, 2012
Messages
218
How about adding a trigger like this:
  • DisableUnitCollisionRegion
    • Events
      • Unit - A unit enters B <gen>
    • Conditions
      • (Owner of (Entering unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Turn collision for (Entering unit) Off
  • EnableUnitCollisionRegion
    • Events
      • Unit - A unit leaves B <gen>
    • Conditions
      • (Owner of (Leaving unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Turn collision for (Leaving unit) On
If that makes things look weird, then how about making Region B into B1 and B2 regions so they come very close but don't actually meet:
group 1 patrol into region A to B1
group 2 patrol into region B2 to D
 
Status
Not open for further replies.
Top