Well, it looks fine to me, nothing's jumping out at me as being off.It checks for the units having the same identical indexedName. Hmmm. I wonder if it's a casing thing? I'd be surprised though.
Could you try giving your catapult file either all lowercase or a capital first letter? Whichever it doesn't currently have. It's a long shot but worth a try.
Craig On 24/02/2015 21:08, Monkey wrote:
Hello, I recently attempted to make a stacking skill, to combine three catapults into a great catapult. The skill looks like this: skill 10 |flags description Combines three catapults into a great catapult. Costs 6 AP's. Key is c. tile range=0 AP's_cost=6 sound=great_catapult_cursor key=c |script_flags stack_into great catapult stack_number 3 However, when I have three catapults on a tile and try the skill, it tells me "Not enough units of this type on this tile to use a stacking skill". So I tried reducing the amount to two, and still the same message... It works if I reduce the stacking number to 1, but then it's technically not a stack. Am I doing something wrong here, or is this a bug with the stacking script?