Staredit Newtork
Community
StarCraft
Games
Site
Favourites
How do I disable a unit's ability to attack?

Creator: KyleIs1337
Time: Aug 2 2008, 9:06 am

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

[Avatar]
I paid -54 minerals for THIS?
 offline contact
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?
Build-a-Ship Workshop

() )) (CRAYOLA) )) >

Quote from O.o: because I've found my form in your forms where It should not be.
Top

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

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
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
This post was edited 1 time, last edit by NudeRaider: Aug 2 2008, 2:01 pm.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

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

[Avatar]
Master of 239.242 D1 Items
 offline contact
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)
(user posted image)
Top

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

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
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.
Top

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

[Avatar]
I paid -54 minerals for THIS?
 offline contact
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 ;)
Build-a-Ship Workshop

() )) (CRAYOLA) )) >

Quote from O.o: because I've found my form in your forms where It should not be.
Top

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

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Ah, so you already have a vHP set up :) Very good
Top

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

[Avatar]
 offline contact
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...
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top

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

[Avatar]
I paid -54 minerals for THIS?
 offline contact
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.
Build-a-Ship Workshop

() )) (CRAYOLA) )) >

Quote from O.o: because I've found my form in your forms where It should not be.
Top

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

[Avatar]
 offline contact
Well then just make the player unable to attack once he gets x number of units killed, it is as eazy as that...!
I control you all...20 Times!!!(signature image) <--There is supposed to be a 20 sided dice...
Top
0 members in this topic: None
+ 0 guest(s)


[11:22 am]
O)MasterJohnny -- Then why is he apologizing that he didnt handle the economic crisis that well >.>
[08:03 am]
[Echo]:] -- Bush is a smart guy.
[07:47 am]
O)MasterJohnny -- Bush is sorry about the economic crisis :D
[07:11 am]
rockz -- Bio>civil
[07:05 am]
[Echo]:] -- Did I mention civils sucks?
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions