• 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.

[Trigger] Walkable range near a cliff

Status
Not open for further replies.
Level 9
Joined
Oct 15, 2006
Messages
339
You will need TFT;

Event:
Unit - A unit comes within "30" of "selected unit"

Actions:
If, Then, Else Multiple Functions -
Conditions:
Then Actions: Unit - Turn Collision for (Triggering Unit) On
Else Actions: Unit - Turn collision for (Triggering Unit) Off

There may be more to it than that, like a condition or variable. If it works, good, if it doesn't i'll test it later.. gotta go worky worky
 
Level 9
Joined
Oct 15, 2006
Messages
339
Well if you were not such an artard you'd have noticed that units CAN get closer to cliffs with zero-point collision.
Of course they are not going to be climbing the cliff walls but they DO get closer.

And since you don't understand the provided trigger, let me explain it to you. If you TURN OFF unit collision size then units CAN walk through each other.. And since you probably do not want that, you have this trigger which turns their collision ON when around units but OFF when they are not.. I don't know what kind of map you are doing, but if it's where people are exploring on their own then it is as good as you're going to get.
Or you can just turn it off completely and when units fight they will still have the same distance between eachother during a battle as they would with it on... And will STILL be able to get closer to cliffs. FYI, straight-edge cliffs allow units to get even closer with no collision.
 
Level 9
Joined
May 27, 2006
Messages
498
Units with trigger-turned of collision can climb cliffs, and you dont want them to do so, but still be able to get closer to the cliff...? Hmmm, maybe just place the dummy doodad ("borders", "way blockers"? Dont know how they are called...)


@GhostWolf
333 posts ;P
 
Level 6
Joined
Nov 28, 2007
Messages
203
path blockers :D
[Offtopic]and, ghostwolf.. 333 posts!! gz :p
btw, raft_pl, on what server do u play? (wow) i play on deathwing ;)
 
Status
Not open for further replies.
Top