Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
How to detect doodad entering region?
How to detect doodad entering region?
11-26-2003, 05:57 AM
#1
ChaoticPeasant
Is there any way I can detect if a doodad enters a region?
11-26-2003, 07:04 AM
#2
PitzerMike
A doodad can't move, so where's the point?
11-26-2003, 02:43 PM
#3
ChaoticPeasant
I'm making a few triggers spawning TONS of trees for some random doodad placement, but i don't want the middle to have any extra trees in it.
11-26-2003, 02:46 PM
#4
AIAndy
Best modify the creation. First compute a random location, then check if it is in the middle and only if not create the tree.
11-26-2003, 03:07 PM
#5
ChaoticPeasant
Alright, thanks, I'll see if I can.
EDIT: It worked! Thanks for idea man.
11-26-2003, 07:43 PM
#6
KaTTaNa
Another way is just to remove all the trees in the middle area after they have been placed.
11-26-2003, 07:44 PM
#7
ChaoticPeasant
That wouldn't of worked, I had pre=placed trees that couldn't be removed, though that would work.