Is this not supported in 1.5 editor, or am I just overlooking something ? I could've sworn this worked before.
fdsa
Events
Game - Player Any Player types a chat message containing "blah", matching Partially
Local Variables
Conditions
Actions
Tech Tree - Set Range upgrade level to 10 for player 1
Debug - Display (Text((Range count for player 1, counting Queued Or Better))) as debug output using Type 01, and Do display it in the game window
The debug keeps returning 0. Not sure what exactly is wrong.
EDIT: I found the issue. Apparently, there's a sort of "maximum" for upgrades that isn't hard-coded into the data editor. Going to do some experimenting to find this soft-cap.
EDIT 2: Found it. The maximum is 127. Going beyond it will leave the upgrade at 0.
Your debug might be messing up, did you check the upgrade manually?
There are a few ways to do this, but if you set a specific unit's health to 999 at upgrade 10 and the unit has 999 health when you type blah, you will know if it's the debug or just the whole trigger.
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
That may be the case if I was checking for the effects of the upgrade, but right now, the debug is only returning the level of the upgrade. I'm getting some inconsistent results with this. Sometimes it works, sometimes it doesn't (on different files).
If I might ask how you solved this in case I come up with a similar problem?
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
Is this not supported in 1.5 editor, or am I just overlooking something ? I could've sworn this worked before.
fdsa
Events
Game - Player Any Player types a chat message containing "blah", matching Partially
Local Variables
Conditions
Actions
Tech Tree - Set Range upgrade level to 10 for player 1
Debug - Display (Text((Range count for player 1, counting Queued Or Better))) as debug output using Type 01, and Do display it in the game window
The debug keeps returning 0. Not sure what exactly is wrong.
EDIT: I found the issue. Apparently, there's a sort of "maximum" for upgrades that isn't hard-coded into the data editor. Going to do some experimenting to find this soft-cap.
EDIT 2: Found it. The maximum is 127. Going beyond it will leave the upgrade at 0.
@DieHappy1234: Go
The maximum level for that upgrade might be too small.
No. It's at 200 something... I checked that already. I also tried setting the upgrade to 1. Still doesn't work.
@DieHappy1234: Go
Your debug might be messing up, did you check the upgrade manually?
There are a few ways to do this, but if you set a specific unit's health to 999 at upgrade 10 and the unit has 999 health when you type blah, you will know if it's the debug or just the whole trigger.
That may be the case if I was checking for the effects of the upgrade, but right now, the debug is only returning the level of the upgrade. I'm getting some inconsistent results with this. Sometimes it works, sometimes it doesn't (on different files).
EDIT: Solved
@DieHappy1234: Go
If I might ask how you solved this in case I come up with a similar problem?
He solved it because chances are he made a simple mistake elsewhere.
Upgrades work fine.