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.
[03:08 pm]
Sylph-Of-Space -- woah! nice! thank you!
[2024-5-20. : 4:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[2024-5-20. : 4:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[2024-5-20. : 3:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[2024-5-19. : 9:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
Please log in to shout.


Members Online: eksxo