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.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: Sie_Sayoka, Butch