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.
[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
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
Please log in to shout.


Members Online: Roy