(sorry if this is old)
Just found a really handy use for inverted locations. I needed to prevent a ghost from moving out of a spot, and using the 'move to invalid terrain' method meant that if you tried to nuke it stopped. And using a 1x1 pixel location meant that you could walk about 10 pixels and then get snapped back.
BUT! if you use an inverted 14x21 location the ghost touches all sides (barely) and is detected, and if you move it 1 pixel in any direction, it's outside and not detected!
So you just need a trigger like this:
CONDITIONS:
Player 1 brings exactly 0 terran ghost to 14x21
ACTIONS:
Move all terran ghost for Player 1 at Anywhere to 14x21
Preserve Trigger
And with hypers, it looks very good
It could be used as a spell system, like with a zergling that moves outside of a location it triggers, and it would have great reaction times.
None.
Yeah, I think this was mentioned before.
It just has to be the size of the unit.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
I think that would be the fastest spell casting method.
Hmm, even over mineral detection when buying? I'm not sure about that, since units have about a .2 time period where they react to orders.
None.
Omg... Mineral detection when buying. Splendid idea.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Lol, I'm surprised you figured out the unit dimensions yourself. There are programs to help figure this out.
And one other thing, it doesn't work well with some units as the center location function doesn't center on the exact center of all of them. (So it depends on which direction they are facing where their center is.)
None.
Haha just did a print screen as I went to place the unit in scmdraft and found out how big the bounding box was. Not too crazy
although not being able to select the location afterwards = mucho pain. Please tell me it's impossible to select an inverted location, or I want my hour back T_T
None.
What's an inverted location?
None.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
Haha just did a print screen as I went to place the unit in scmdraft and found out how big the bounding box was. Not too crazy
although not being able to select the location afterwards = mucho pain. Please tell me it's impossible to select an inverted location, or I want my hour back T_T
Select locations in the tree on the left side below your minimap in scmdraft. click on the name of the location, press enter and edit it?
Yeah, I noticed that at first too, I demand SI add inverted location accommodations!
None.
What's an inverted location?
What is this inverted location thing everyone are talking about?
Some.
I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.
inverted location:
1. create a location
2. edit the location:
2A: swap the left/upper coordinates (X) with the right/lower coordinates (Y)
normal location
(X)-----
| |
-----(Y)
inverted location
(Y)-----
| |
-----(X)
Inverted locations will never be blocked by the end of the map while centering on a unit (it is always perfect on the unit like a 1x1 pixel location).
You can only detect units inside an inverted location when they hit all (or maybe only a few) edges of the inverted location with the "bring"-condition.
You can only detect units inside an inverted location when they hit all (or maybe only a few) edges of the inverted location with the "bring"-condition.
They have to be touching every edge of the location at once
None.
Huh, quite interesting! Thanks guys!
EDIT:
I wonder if you can do it like this:
------X
| |
Y------
Or like this:
------Y
| |
X------
In the first case units should be detected when touching just left and right borders at once and in the latter case when touching top and bottom borders at once...
Post has been edited 1 time(s), last time on Apr 20 2008, 3:53 pm by Wormer.
Some.
If X
2 > X
1, the unit must be between or touching the left and right edges.
If Y
2 > Y
1, the unit must be between or touching top and bottom edges.
If X
1 > X
2, the unit must be touching both the left and right edges.
If Y
1 > Y
2, the unit must be touching both the top and bottom edges.
X
1 and X
2 are independant of Y
1 and Y
2; you can do whatever with either and the other wont be affected.
(To answer your 'I wonder', yes. It should work.)
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!