Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Can't attack own unit?
Can't attack own unit?
Jan 17 2009, 2:07 am
By: Craftstar2  

Jan 17 2009, 2:07 am Craftstar2 Post #1



Do hyper triggers make it so it is hard for your own units to attack themselves?

For example if i want to destroy one of my sunkens with another sunken, it doesn't hit.



None.

Jan 17 2009, 2:15 am Falkoner Post #2



Well, if you are constantly having the player set themselves to ally, then yes, otherwise it works just fine. The issue is that when you order the attack, the unit goes to attack, and then allies them, making their attack null and void. Without hypertriggers this still happens, but since it's every 2 seconds the unit can get a few shots off before re-allying themselves.



None.

Jan 17 2009, 4:19 am Vi3t-X Post #3



Some units such as the Zergling or the Vulture can still damage units even WITH hypertriggers if you click quick enough.



None.

Jan 17 2009, 5:07 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

any time you change alliance status, all attacks currently on non enemies stop, and with hyper triggers, only units with a "speed factor" high enough to attack can attack, like goliaths.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 17 2009, 10:07 pm Craftstar2 Post #5



Quote from rockz
any time you change alliance status, all attacks currently on non enemies stop, and with hyper triggers, only units with a "speed factor" high enough to attack can attack, like goliaths.

So any type of alliance status? So even if you just set another play to ally, you can't kill your own units with say a sunken?



None.

Jan 17 2009, 10:09 pm Falkoner Post #6



He put it a little funny, and I'd say that it's incorrect, they will only stop attacking a player if you ally that player, allying another shouldn't affect anything.



None.

Jan 17 2009, 10:13 pm Decency Post #7



He is correct, unfortunately. In Snipers the two opposite teams are allies in order to force manual attacks. Attempting an anti-backstab by constantly allying people on the same team also stops attacks against people on the other team.



None.

Jan 17 2009, 10:14 pm Craftstar2 Post #8



Let's say i have a trigger where player 1 (me) allies player 2 and that is preserved with hyper triggers.

If i (player1) want to kill my OWN unit, it still doesn't allow me to kill it.



None.

Jan 17 2009, 10:36 pm Roy Post #9

An artist's depiction of an Extended Unit Death

You can't preserve alliances AND have your units attack each other without interruption. I would recommend changing the condition to "Player has # of opponents" to check if the player is purposefully trying to unally someone.

Players:
- Force 1 (or all human players)
Conditions:
- Player has at least 3 opponents remaining in the game
Actions:
- Set Player 1 to ally for current player
- Set Player 2 to ally for current player
- Set Player 3 to ally for current player
- Set Player 4 to ally for current player
- Set Player 5 to ally for current player
- Set Player 6 to ally for current player
- Preserve Trigger
- Comment ("Auto-Ally")

I assumed that the human players are 1-6 and they are all on the same team. I also assumed that players 7 and 8 were enemies.

Post has been edited 1 time(s), last time on Jan 17 2009, 10:44 pm by Roy. Reason: Terminology




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: LML, Ultraviolet