Script help: run count and skip count?

Moderators: Slitherine Core, BA Moderators, WH40K Armageddon moderators

Post Reply
g4geisha
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 12
Joined: Tue Dec 16, 2014 12:00 am

Script help: run count and skip count?

Post by g4geisha »

Can you all tell me what these numbers mean please? The series of scripts is basically side 1 at start of turn check primary flags in objectives and add prestige. It works the first time with run count 1 and skip 0 but not in turns afterwards. I have a script for each possible number of objectives for each side so I'm hoping to get it right before changing 14 scripts. Thanks
Kerensky
Content Designer
Content Designer
Posts: 8649
Joined: Wed Jan 12, 2011 2:12 am

Re: Script help: run count and skip count?

Post by Kerensky »

Try setting run count to whatever your turn limit is.

In theory, if you set your trigger to fire 'start of side 1 turn' then it should run at X start of every side 1 turns.
Kerensky
Content Designer
Content Designer
Posts: 8649
Joined: Wed Jan 12, 2011 2:12 am

Re: Script help: run count and skip count?

Post by Kerensky »

For example:

This set up (I tested it and it works) means that for the first 10 turns of the game, every time side 2 starts its turn, the total scenario turn limit increased by 5.

Image

I know it's working because once the turn counter says X/60, the 60 no longer changes. Hope that helps!

As for skip count, it's not a feature I personally like to use, but I think it's a very literal thing. You must to fulfill a trigger's requirement SKIP COUNT TIMES before it successfully fires a single time. I think. As I said, it's not something I'm a big fan of using, so I tend to avoid ever invoking it. This comes down to presentation and communication of information though.
g4geisha
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 12
Joined: Tue Dec 16, 2014 12:00 am

Re: Script help: run count and skip count?

Post by g4geisha »

Cool thanks will try that and report back. I was thinking that too but also thought it might run the script x times each turn and wanted to be sure.
Post Reply

Return to “Mods and Scenario Design”