Is there any way to check the Cliff Level of the Medivac that is unloading a unit, so that it cannot unload at a certain Cliff Level? I've tried various things in the Compare Cliff Level validator type and I can't seem to get it right. Does anyone else have any experience with this?
So do the sizes have to be an exact match or something? Whenever I try to set the background as any sort of image, it becomes a garbled mess. My dialog is something like 250x300 at the moment.
Hi all, I'm trying to get into Dialoging so I can create some custom information panels.. but I don't like how the dialog is always the standard green and transparent type. I've tried setting the Dialog image to something else, but that always ends up a mess. Is there any sure way to make any dialog appear as the opaque black, as seen in the unit information panel?
Yeah I don't really see any other way around it, Probably just gonna have to make some additions and subtractions in places to get the number I want. I have a map which changes stats around a lot with upgrades and behaviors and stuff, and it'd be so nice if they gave us something to reference the weapon damage, range, and attack speed.
I'm trying to make a custom stats dialog, and I need to know how, if possible, to get the current units stats when modified by upgrades and behaviors.
So like I have a Unit with 5 range, a +1 range behavior, and a +1 range upgrade... how do I get a text to show 7 without making formula. Thanks in advance!
I haven't the slightest idea of how to edit the UI, but is there a simple solution to not show the cargo ui that appears when units are placed inside of a bunker, and instead keep the unit stats UI?
Hi all, I was wondering if there was a way to hide the cargo ui when units are loaded into a bunker so you can still see the armor and stats, and possibly create a button to switch between the two views.
Variable - Set Bunker = (Number of Any units in (Marine units in (Cargo units in (Triggering unit)) owned by player (Triggering player) matching No Unit Filter, with at most Any Amount))
This does it incase any of you were wanting to do this.
Nah, that doesn't work. I need this to be multi instanceable.. so I can use multiple bunkers. So I have to use local variables only.. and I tried +1 already, it just resets after you load in a marine.
What I have so far is..
Events
Unit - Any Unit Loads Cargo
Local Variables
Bunker = 0 <integer>
Conditions
(Unit Type of(Triggering Cargo Unit)) == Marine
Actions
Set Bunker = (Transport Number of Units Carried of (Triggering Unit))
See... I just need the type also and I'm set. I'm looking to count unit type carried.
I've been working with it a bit. I have a local variable set up and a text message to display the variable in game whenever I load a marine in the bunker. But it keeps saying 0.
Hello, I just started using the map editor not long ago, and I'm wondering how to count the number of a specific type of unit inside a bunker. I want to set a variable based on the number of marines inside of a bunker, and I can't for the life of me figure it out.
0
How about making it target a point instead of a unit?
0
Is there any way to check the Cliff Level of the Medivac that is unloading a unit, so that it cannot unload at a certain Cliff Level? I've tried various things in the Compare Cliff Level validator type and I can't seem to get it right. Does anyone else have any experience with this?
0
So do the sizes have to be an exact match or something? Whenever I try to set the background as any sort of image, it becomes a garbled mess. My dialog is something like 250x300 at the moment.
Thanks for responding btw.
0
Hi all, I'm trying to get into Dialoging so I can create some custom information panels.. but I don't like how the dialog is always the standard green and transparent type. I've tried setting the Dialog image to something else, but that always ends up a mess. Is there any sure way to make any dialog appear as the opaque black, as seen in the unit information panel?
Thank you in advance.
0
Yeah I don't really see any other way around it, Probably just gonna have to make some additions and subtractions in places to get the number I want. I have a map which changes stats around a lot with upgrades and behaviors and stuff, and it'd be so nice if they gave us something to reference the weapon damage, range, and attack speed.
0
I'm trying to make a custom stats dialog, and I need to know how, if possible, to get the current units stats when modified by upgrades and behaviors.
So like I have a Unit with 5 range, a +1 range behavior, and a +1 range upgrade... how do I get a text to show 7 without making formula. Thanks in advance!
0
I haven't the slightest idea of how to edit the UI, but is there a simple solution to not show the cargo ui that appears when units are placed inside of a bunker, and instead keep the unit stats UI?
0
Hi all, I was wondering if there was a way to hide the cargo ui when units are loaded into a bunker so you can still see the armor and stats, and possibly create a button to switch between the two views.
0
I figured it out.
Variable - Set Bunker = (Number of Any units in (Marine units in (Cargo units in (Triggering unit)) owned by player (Triggering player) matching No Unit Filter, with at most Any Amount))
This does it incase any of you were wanting to do this.
Bunker = Integer Variable
0
Nah, that doesn't work. I need this to be multi instanceable.. so I can use multiple bunkers. So I have to use local variables only.. and I tried +1 already, it just resets after you load in a marine.
What I have so far is..
Events Unit - Any Unit Loads Cargo Local Variables Bunker = 0 <integer> Conditions (Unit Type of(Triggering Cargo Unit)) == Marine Actions Set Bunker = (Transport Number of Units Carried of (Triggering Unit))
See... I just need the type also and I'm set. I'm looking to count unit type carried.
0
Okay, yeah it's the Transport Property of Unit function, thanks. But I can't get it to count the number of marines, just the number of all units.
0
I've been working with it a bit. I have a local variable set up and a text message to display the variable in game whenever I load a marine in the bunker. But it keeps saying 0.
0
Hello, I just started using the map editor not long ago, and I'm wondering how to count the number of a specific type of unit inside a bunker. I want to set a variable based on the number of marines inside of a bunker, and I can't for the life of me figure it out.