Hello, im interested in using the Salvage ability in a barrack unit we have in our game. The problem is the barracks price keep increasing each time you buy one so the refund wont be accurate because this is done by triggers and not using obviously the cost shown under the Unit Tab. The upgrade is done in data but it uses triggers. I was wondering if someone cold help us out and tell us how to get the accurate refund back for the price the user spent on the barrack.
Hello, this is what i could find about how the barrack price work. Refund right now is done via data, but i'm thinking this might have to be done via triggers too since the barrack price totally depends on the trigger i'm showing you on this picture. I just dont know how to attach both so refund gets upgrade same as cost.
Hello, im interested in using the Salvage ability in a barrack unit we have in our game. The problem is the barracks price keep increasing each time you buy one so the refund wont be accurate because this is done by triggers and not using obviously the cost shown under the Unit Tab. The upgrade is done in data but it uses triggers. I was wondering if someone cold help us out and tell us how to get the accurate refund back for the price the user spent on the barrack.
I think this is "data" thing.
Does the refund increase too? My gues is that refund is some % of total cost of unit.
Is the refund only done through trigger for the minerals returned, or do you use data for the mineral refund as well? My answer depends on this info.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Hello, this is what i could find about how the barrack price work. Refund right now is done via data, but i'm thinking this might have to be done via triggers too since the barrack price totally depends on the trigger i'm showing you on this picture. I just dont know how to attach both so refund gets upgrade same as cost.
There a a couple different possible ways of doing this
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)