Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Rash has a problem!
Rash has a problem!
Oct 12 2008, 4:34 am
By: Oo.Rash.oO  

Oct 12 2008, 4:34 am Oo.Rash.oO Post #1



Hello,

I'm working on a map and I need to locate a unit. Wait, that's not THAT simple.
It's in a 32x16 location, I control 10 larvas and there is 5 enemy units.
I want to locate the enemy unit when it walk on a larva and kill the enemy who walked on it.
So, a center location can't work (I think) and I need another solution.
I thought about a static grid, but i'm not sure how to do it and if it will work.
I need help,

Oo.RageAgainstStupidHackers.oO (Oo.Rash.oO)

Post has been edited 1 time(s), last time on Oct 12 2008, 5:01 am by Oo.Rash.oO.



None.

Oct 12 2008, 4:48 am Riney Post #2

Thigh high affectionado

Swap the larve between two players, center a location before you swap them, check if there is a unit there, if not change color. Do this until all are the other color, then do the trigger backwards.



Riney#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

Oct 12 2008, 5:36 am Oo.Rash.oO Post #3



Uhh well thanks, but it won't work



None.

Oct 12 2008, 6:04 am InsolubleFluff Post #4



If the 5 enemy units all belong to one player do it how DM said do it.

Center a say 1x1 location on the larvae.
Give larvae at 1x1 location to different player.
Kill all enemy unit at 1x1 location.
Preserve Trigger
(if you're not noob) Comment

You could even put that all in one trigger since there's such little actions and it would be instant, all you have to do is give all larva from player to the original player and poof, an infinite cycle that will kill all enemy players that stand on a larvae.

Now if you do it with 5 DIFFERENT players you can achieve the same thing by.

Trigger1:
Always
-------------
Center a 1x1 location on the enemy unit.
Preserve Trigger
(if you're not noob) Comment

Trigger 2:
Player whatever brings larvae to 1x1 location
--------------
Kill all any unit for current player at 1x1 location
preserve trigger
(if you're not noob) Comment

Both will achieve the exact same effect, but depending on who owns the units, and how many, one is better then the other...
Also, do not put your name at the end of your posts, it's what the signature is for.



None.

Oct 12 2008, 10:52 am NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

For only 5 units static solutions are well possible.
But a 1x1 static grid of a 32x16 would require 512 locations, so I recommend the following:

Follow each of the 5 enemies by a 1x1 pixel location. This requires hypertriggers and can glitch if those units can fly, burrow, or otherwise stack onto each other.

Then use 5 1x1 block locations that are centered on the 1x1 pixel at all times.
If at any of those location happens to be a larva and one of the enemy units the same time, kill the unit there.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
Please log in to shout.


Members Online: C(a)HeK, Ultraviolet