HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

The effects of boundary...

10-27-2007, 04:03 PM#1
darkwulfv
Ok, so, lets say I place some boundary terrain (the black stuff that's darker than fog of war, for those who don't know). Now, I know units are stopped against it instantly. Now, this is boundary placed in the middle of the map, not the edge of the map boundary. What would happen in the following situations, if next to the self-placed boundary. (Basically I'm just asking if it functions exactly the same as it does on the map edge)

1: A unit blinks into it, or click ahead of it and ends up in it
2: A unit is moved into it via triggers (such as in a jump function)
3: A special effect ends up there from triggers
4: A unit casts a spell in there
5: A unit is created there via triggers (like if a dummy unit were created)

and any other situations you can think of that may happen.

Thanks in advance!
10-27-2007, 04:54 PM#2
CommanderZ
1) I don't think you can target it or walk into it
2) I think it appear at closest posible valid location (like if you put it on the cliff)
3) Have no idea, maybe it just appears there.
4) You can't target it afaik
5) like 2)
10-27-2007, 05:03 PM#3
darkwulfv
Ohh, thank you. I'll wait for more say-ins though, because I'm pretty sure crashes or server splits can ensue when units end up in boundaries (or was that map edge...?)
10-27-2007, 05:21 PM#4
Ignitedstar
I've HEARD that when units/special effects reach the boundary of the map the game crashes, but I haven't tested this myself. Therefore, I don't know if this applies to boundries not on the boundry of the map as well.

As for your questions:

1: I believe you can't blink into boundries. I'm pretty sure about that (Warden rules). Units cannot walk into boundries, either. I have a map that uses boundries for real building structure. It's lazy and innovative at the same time, but as far as I know, no unit walks into the boundries.
2: As said eariler, the game MIGHT crash, but I'm not sure. Maybe they will forcefully get moved out of the boundary, instead.
3: I don't know about whether special effects are allowed or not. Never tried it before.
4: I think the spell will work regardless. But, it may depend on what the spell does.
5: It might be the same as #2. After all, they are still units.
10-27-2007, 06:04 PM#5
TaintedReality
As far as moving units into it go, I think it would behave the same as the map boundary. If you use SetUnitPosition it won't crash, but will move it to the closest valid point. If you use SetUnitX/SetUnitY then you can make it crash. Never tested it though =\.
10-27-2007, 07:32 PM#6
darkwulfv
Ok. I got the moving all set. And I know that SetUnitX/Y will crash it.

I was worried. I've got these forests, and I thought "Hmm... Rather than wasting map size and loading time making the entire forest, why not just put boundaries surrounded by trees?" But then I realized that:

Some units have blink
I use dummy-related spells and effects.
Boundaries can cause crashes.

However, I think I'll be safe. I'd test this all out myself, but my computer has this retarded issue where if something crashes it will no longer run until i restart my computer.
10-28-2007, 06:22 AM#7
Pyrogasm
That sucks balls. I can test for you if you'd like.
10-28-2007, 06:12 PM#8
darkwulfv
I don't think I'll have to worry about it. (You can still test if you want, for future knowledge). I decided that 2000~ doodads over the limit is no big deal. The map still runs and saves, and Vex's optimizer makes up for the time it takes for the map to load.