HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how do u get a unit to not enter a certain place ?

03-23-2005, 02:27 AM#1
eclipse101
well im having a prob trying to get a unit not to enter a certain place it keeps going through corners and i cant have that and buildings so i need to no how to get him to not enter that only part
03-23-2005, 03:41 AM#2
Guest
Pathing Blockers man.. in the doodads menu, just click and place them around the area.. put lots of them so that untis cant get through. Or u can use triggers but that just makes life harder.
03-23-2005, 04:41 AM#3
Azhag
You could also use the terrain called Boundaries.
03-23-2005, 05:18 AM#4
eclipse101
i need something that wont ruin the game like regions or trigger dun care of its a hard trigger i need it!!!!!!
03-23-2005, 07:05 AM#5
Azhag
Explain what you mean?? How will adding boundaries ruin the game??
03-23-2005, 06:36 PM#6
eclipse101
because other ppl need to go in the place
03-24-2005, 09:23 AM#7
Guest
I Cant be fucked to look up the exact trigegrs but im sure you could make a trigger like

A Unit enters Area
Unit = To, owned by player
move unit to region


Something like that.. Easy nuff.
03-26-2005, 12:33 AM#8
eclipse101
lol srry for this but i need the unti not to enter that region lol
03-26-2005, 12:52 AM#9
TheNyne
Do something like this(GUI btw):
Code:
Trigger
  Events
    Unit enters (region)
  Conditions
    Or
      Entering unit is equal to (unit)
      Entering unit is owned by (player)
  Actions
    Unit - Move (Entering unit) instantly to ((Position of (Entering unit)) offset by ((Facing of (Entering unit)) - 100.00) towards (Facing of (Entering unit)) degrees)

That action is Move unit instantly, and it is Point with Polar offset.