Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Modifying unit HP in dropships - is it possible?
Modifying unit HP in dropships - is it possible?
Jun 6 2017, 4:16 pm
By: Oh_Man  

Jun 6 2017, 4:16 pm Oh_Man Post #1

Find Me On Discord (Brood War UMS Community & Staredit Network)

I haven't been able to get this to work. I'm interested to hear if it's possible or if there's any workarounds.

Basically I have an item system using a dropship:


Unfortunately the latest patches messed with the wireframes a bit so I lost the nice colour-coordination with the yellow defiler (doesn't really matter). But I thought of another idea to have unit HP representing if you had the item in your inventory or not. 1% HP = dont have item 100% HP - have the item.

But I can't modify unit HP while it's inside the dropship it seems. Any ideas??




Jun 6 2017, 5:52 pm Swampfox Post #2



I mean, you could modify the hp of it before it gets reloaded into the dropship?



None.

Jun 6 2017, 9:03 pm Ashamed Post #3

Hear me Raor!!

Quote from Swampfox
I mean, you could modify the hp of it before it gets reloaded into the dropship?

This is what I would do.. Should be easy to check this everytime said item is used and when set to 0... set health before doing order to have unit go back into dropship.



None.

Jun 6 2017, 10:16 pm Wormer Post #4



But when the item is found how to make the button green again?



Some.

Jun 6 2017, 11:33 pm Ashamed Post #5

Hear me Raor!!

Quote from Wormer
But when the item is found how to make the button green again?


I have never done this. So I am not sure how well it would work ( With order for the dropship) but in this case you just issue run script to exit transport - Set the health of said unit. Then tell them to re-enter transport. Again I am not sure how this would work with unit order when they all go back into drop ship though. You may have to create a staging area where each unit is moved to a separate location and the run script is done separate per unit to make sure order is not messed up.



None.

Jun 7 2017, 12:33 am Oh_Man Post #6

Find Me On Discord (Brood War UMS Community & Staredit Network)

Yeah the making green again part is what confused me. Vrael did it in tenebrous but I'm not sure how to make a script drop specific units. Maybe you can remove units while they're inside then recreate them underneath?




Jun 7 2017, 12:54 am Ashamed Post #7

Hear me Raor!!

Quote from Oh_Man
Yeah the making green again part is what confused me. Vrael did it in tenebrous but I'm not sure how to make a script drop specific units. Maybe you can remove units while they're inside then recreate them underneath?

There is an exit transport script. Or your idea may work as well. I would try to remove said unit from location while its in the dropship. Then create same unit and run script to enter dropship. That idea should work as well.. That method might be even easier to make sure ordering of units do not mess up. Only remove 1 at a time/ put in dropship.



None.

Jun 7 2017, 10:19 am Oh_Man Post #8

Find Me On Discord (Brood War UMS Community & Staredit Network)

Yep, confirmed you can remove units inside dropships. That's how it's done.

Thanks all.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06: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.
[06: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
[06: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?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Ultraviolet, jun3hong