Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How do I disable a unit's ability to attack?
How do I disable a unit's ability to attack?
Aug 2 2008, 9:06 am
By: KyleIs1337  

Aug 2 2008, 9:06 am KyleIs1337 Post #1



I am making a map where if you get a certain amount of damage then you lose a "laser bank" and you lose the ability to attack. How do I go about doing this?



None.

Aug 2 2008, 9:46 am NudeRaider Post #2

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

Constantly ally yourself to your enemies, or make the enemies invincible, or replace your unit with a critter or a civ or some unit with 0 damage (heroes ftw) to simulate the loss of weapons.

To detect loss of hp you either need vHP or EUDs. EUD Health detection sample map

Post has been edited 1 time(s), last time on Aug 2 2008, 2:01 pm by NudeRaider.




Aug 2 2008, 1:57 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from NudeRaider
Constantly ally yourself to your allies and enemies...
allieing with your enemies all the time -> enemies become your allies
allieing with your allies -> you cannot attack your allies & neutral with a+click (with most units)




Aug 2 2008, 4:42 pm Falkoner Post #4



The most effective method would be to constantly ally your unit to your opponents, with hypertriggers, that would make it so no matter how hard the player tries, they cannot shoot the other unit, detecting damage is a bit of a problem, but maybe you can use a method that Nude posted.



None.

Aug 3 2008, 12:29 am KyleIs1337 Post #5



Actually it's not the ship's actual health it's like an idea i saw about having burrowed units under it and it disables the weapons when 20 of the burrowed units are killed by the enemy. So I have no problem with detecting the health and I have just been given a solution to the not attacking thing. So, thanks ;)



None.

Aug 3 2008, 2:37 am Falkoner Post #6



Ah, so you already have a vHP set up :) Very good



None.

Aug 4 2008, 4:00 pm Dungeon-Master Post #7



Yes but if you use a ship, won't the burrowed units bug if it gets over unpassable terrain? it may fake the results a bit if, lets say, the ship is fleaing from ennemies and uses high ground to do so...



None.

Aug 4 2008, 10:42 pm KyleIs1337 Post #8



No because it's an arena type map and if the ship trys to move out of the arena it moves it back into it. And also there is no high ground (that's accessible by the ship, that is) in the map.



None.

Aug 6 2008, 6:03 pm Dungeon-Master Post #9



Well then just make the player unable to attack once he gets x number of units killed, it is as eazy as that...!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:23 pm]
Roy -- Moose
Moose shouted: Just made? I thought we had that years ago
"We have Super Mario at home."
[2026-8-11. : 4:44 am]
Zycorax -- :wob:
[2026-8-11. : 2:30 am]
Symmetry -- :wob:
[2026-8-10. : 1:36 am]
Moose -- Thinking on it more, I vaguely remember it being annoying because it kept repeating some short loop of the Super Mario World theme LMAO
[2026-8-10. : 12:57 am]
Oh_Man -- I thought i remembered an old mario map but i searched super mario starcraft on utube and i couldnt see anything cept UMS
[2026-8-09. : 11:40 pm]
lil-Inferno -- Blizzard forgot about SC so it's okay
[2026-8-09. : 7:04 pm]
Symmetry -- malware maps for everyone
[2026-8-09. : 7:03 pm]
Moose -- probs lmao
[2026-8-09. : 6:57 pm]
Symmetry -- (and will be patched)
[2026-8-09. : 6:56 pm]
Symmetry -- The old stuff would've gotten patched no? this is current
Please log in to shout.


Members Online: Moose