Hey, need some feedback on cleaning up triggers for win conditions, they are working (ok) but want to clean them up since i had to do a workaround.
Currently i have 4 classes you can choose at the start of the game, they are based on Dialogs, and each time a player chose a class a integer adds a +1 for unit created, when unit dies it goes -1 when it reaches 0 the team loses, the problem is that i dont want it to be based on units, because i want to add waves and they also count as a unit.. is there a way for it to only count the players?
PS: How do i copy the trigger code??
Data (Upgrades)
Upgrades are working fine, it adds 1 armor for each upgrade on a single button if you understand what i mean.. The problem is that i want to increase the cost for each upgrade, and the button for upgrades still displays as 0 even tho its upgraded.
Basically i want triggers and upgrades as the custom game Star Battle.
Thank you, as for the upgrade ability, theres no cost info, only Upgrade effects +
And the button is the big problem, it keeps adding the armor by +1 but the button still displays lvl 0
"Life armor" is already +1 aswell as "armor level"
The button displayed is the original Armor button which displays "0" and i was woundering how to change that, so it can go up to around 50, without creating 50 different buttons for it.
Im using a single Upgrade for the "Armor" it adds +1 each time you buy it, now the cost for upgrading it is 100 for lvl 1.. and 100 for level 2.. i want to increase the cost by "25" minerals for each level, without having to create 50 different Upgrade Abilities.
And i simply want the button to display each level automatically without me having to hover the button to see what Armor lvl i am on.
And i simply want the button to display each level automatically without me having to hover the button to see what Armor lvl i am on.
If your talking about the buying Ability button then i guess its impossible unless you maybe use charges as dummy representation and modify those too via same upgrade. But if it shows 0 than you mean the icon in the unit panel where it shows weapon etc? then the "armor level" should change it.
Really idk what you mean. button in data editor is just icon with tooltip data etc. There's no level attached to it like 0.
You buy it throught the command card, but ya, its in the ability..
The button is the info button that the player sees while ingame, where it also displays, weapon level, and shield level.. when you start a new game it always displays as 0 but i want it to change for each level.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, need some feedback on cleaning up triggers for win conditions, they are working (ok) but want to clean them up since i had to do a workaround.
Currently i have 4 classes you can choose at the start of the game, they are based on Dialogs, and each time a player chose a class a integer adds a +1 for unit created, when unit dies it goes -1 when it reaches 0 the team loses, the problem is that i dont want it to be based on units, because i want to add waves and they also count as a unit.. is there a way for it to only count the players? PS: How do i copy the trigger code??
Data (Upgrades)
Upgrades are working fine, it adds 1 armor for each upgrade on a single button if you understand what i mean.. The problem is that i want to increase the cost for each upgrade, and the button for upgrades still displays as 0 even tho its upgraded.
Basically i want triggers and upgrades as the custom game Star Battle.
Thanks for the help i recive :)
@Chanito91: Go
For ending a game for player use a class Event (set the event you want to trigger the player's end game, such as a unit dieing)
Example
Event - Unit dies, any unit dies
Conditions - (Triggering Unit) == ExampleUnit
Actions - End Game in Defeat for player (Player Group(Owner of (Triggering Unit)))
simple but it works.
As for the upgrade, if it is an upgrade ability, simply go under the ability and go to Cost - Cost + and just add multiple catalogs.
@eliek: Go
Thank you, as for the upgrade ability, theres no cost info, only Upgrade effects + And the button is the big problem, it keeps adding the armor by +1 but the button still displays lvl 0
to show level you need to also +1 such thing as "armor level"
@Nerfpl: Go
"Life armor" is already +1 aswell as "armor level"
The button displayed is the original Armor button which displays "0" and i was woundering how to change that, so it can go up to around 50, without creating 50 different buttons for it.
Im using a single Upgrade for the "Armor" it adds +1 each time you buy it, now the cost for upgrading it is 100 for lvl 1.. and 100 for level 2.. i want to increase the cost by "25" minerals for each level, without having to create 50 different Upgrade Abilities.
And i simply want the button to display each level automatically without me having to hover the button to see what Armor lvl i am on.
Thanks in Advance.
you buy it via ability right? then the upgrade should also +25 for ability cost
If your talking about the buying Ability button then i guess its impossible unless you maybe use charges as dummy representation and modify those too via same upgrade. But if it shows 0 than you mean the icon in the unit panel where it shows weapon etc? then the "armor level" should change it.
Really idk what you mean. button in data editor is just icon with tooltip data etc. There's no level attached to it like 0.
@Nerfpl: Go
You buy it throught the command card, but ya, its in the ability..
The button is the info button that the player sees while ingame, where it also displays, weapon level, and shield level.. when you start a new game it always displays as 0 but i want it to change for each level.