Page 1 of 1

Check Turn

Posted: Tue May 19, 2020 4:47 pm
by Shards
Hi,

The Check Turn condition in the editor has a couple of foibles. One of which I've asked the team to address and I wanted to give fair warning here just in case you guys were using/abusing it :)

At the moment, Check Turn > 0 will return true at the start of every turn after the deployment phase. This is also true for the magic "Post Scenario Turn"!!

For those that don't know, there is a magic turn after the end of each scenario's turn limit which is used for clean up and end of scenario triggers. It's usually tested by ticking the Scenario End tick box in Check Turn.

However, in the current code, a standard Check Turn trigger will fire in this post-scenario special turn. This is causing no end of troubles for MP scenarios which are tracking Victory Points using Turn Start triggers as one player is getting awarded points they shouldn't.

In a future patch, I've asked the team to have it so that Check Turn will only return true if Turn =< Turn Limit UNLESS the Scenario End tick box is ticked.

This feels more logical and meeting with expectations to me.

Any red hot reasons for not doing this?

Ta

Re: Check Turn

Posted: Tue May 19, 2020 5:10 pm
by bru888
Don't forget to take into account whether or not an alliance is selected for the Check Turn condition. Whatever you are proposing needs to be evaluated in that situation as well. It is my understanding that, if no alliance is selected, anybody's next turn satisfies the Check Turn condition. If an alliance is selected, then the game looks for the next iteration of Turn Start for that alliance only.

Other than that, I see no problem with "Check Turn will only return true if Turn =< Turn Limit UNLESS the Scenario End tick box is ticked." I haven't designed anything that says "Check Turn >24" or "Check Turn = 25" in a 24-turn scenario. I dimly recall seeing that in other works, though. How about the DLC?

Re: Check Turn

Posted: Wed May 20, 2020 2:15 pm
by Shards
That's certainly something for us to test :D

But, in general, we've used the "Scenario End" tick box