Okay, I've encountered a new issue working on the 40k Tyranids.
For weapon options, I need to be able to have two costs that are dependent on another option. Using tags, I have it set up so that the costs are working like such:
if (unit.tagis[tyTags.Gaunts] > 0) then
if (unit.tagis[tyTags.Toxin] > 0) then
@each = 4
else
@each = 3
endif
endif
I have to do it this way, because there are like 5 units that all use the same weapon, but all have different costs.
The problem is, is that the cost always displays as 0, until you actually buy the option. I don't see a way to set the 'text' or anything. Help!
For weapon options, I need to be able to have two costs that are dependent on another option. Using tags, I have it set up so that the costs are working like such:
if (unit.tagis[tyTags.Gaunts] > 0) then
if (unit.tagis[tyTags.Toxin] > 0) then
@each = 4
else
@each = 3
endif
endif
I have to do it this way, because there are like 5 units that all use the same weapon, but all have different costs.
The problem is, is that the cost always displays as 0, until you actually buy the option. I don't see a way to set the 'text' or anything. Help!