- Joined
- Apr 1, 2019
- Messages
- 156
Trying to have the ability "charge gold and lumber" to have an upgrade requirement but it's not working.
Basically what I'm doing is a unit stores "flux" when it attacks, and I want him to be able upgrade into another unit which costs "50 flux" so I gave him the "charge gold and lumber" ability requiring a dummy upgrade, "50 Flux" then swapping out the ability with another "charge gold and lumber" ability with no requirements once 50 flux is reached. And when that new ability is cast just replacing the unit with the one he upgrades into.
One more thing, is there anyway to change what a unit can build through triggers? I cant seem to find a good workaround. Basically a player chooses what towers they want to be able to build, but once a player chooses more than 11 I run into problems
Basically what I'm doing is a unit stores "flux" when it attacks, and I want him to be able upgrade into another unit which costs "50 flux" so I gave him the "charge gold and lumber" ability requiring a dummy upgrade, "50 Flux" then swapping out the ability with another "charge gold and lumber" ability with no requirements once 50 flux is reached. And when that new ability is cast just replacing the unit with the one he upgrades into.
One more thing, is there anyway to change what a unit can build through triggers? I cant seem to find a good workaround. Basically a player chooses what towers they want to be able to build, but once a player chooses more than 11 I run into problems
Last edited: