So I have this trigger that removes a charge every time you reload. Problem is it sets your charges to nobody knows, and turns the item grey. Well the problem is the triggers can still run. How do you destroy an item?
Also. The check box for destroy when depleted, doesnt work because of the trigger I use.
Riney#6948 on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
-- Updated as of December 2021 --
Have a variable keep track of it. Since you are probably doing all additions/subtractions through triggers have a variable that stores how many charges they have. If you are removing charges through an ability then have a trigger which runs when a unit receives an order to use the ability and subtract from your variable.
There might be a better way, I don't have the editor right now to check it out.
None.
I ment an action that removes the item from the unit inventory.
Riney#6948 on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
-- Updated as of December 2021 --
You can use the kill/remove unit action
None.
Had a feeling that might work. Good thing theres only one instance of this item type in the player inventory at all times.
Riney#6948 on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
-- Updated as of December 2021 --
Got around to finally testing it and it worked perfectly. This topic can be closed.
Riney#6948 on Discord.
Riney on Steam (
Steam)
@RineyCat on Twitter
-- Updated as of December 2021 --