Hi there,
My second question of the day!
I was wondering if there was a condition in the World Editor that would allow a triggered check of a players food cap to see if they can support a unit that is about to be created.
I'm creating a spell that sacrifices a lesser unit to create a more powerful one (and hence increases the food required by the player). I would like some way of the food cap being consulted to stop the spell being cast if the players current food not being able to support the unit to be created.
Any help would be much appreciated!
(I should mention the sacrificial aspect works).
My second question of the day!
I was wondering if there was a condition in the World Editor that would allow a triggered check of a players food cap to see if they can support a unit that is about to be created.
I'm creating a spell that sacrifices a lesser unit to create a more powerful one (and hence increases the food required by the player). I would like some way of the food cap being consulted to stop the spell being cast if the players current food not being able to support the unit to be created.
Any help would be much appreciated!
(I should mention the sacrificial aspect works).