Run/Skip Count

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
StrategyGamer
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 7
Joined: Sat Sep 24, 2016 6:34 pm

Run/Skip Count

Post by StrategyGamer »

What is run count? Is it how many times the outcome can happen (For instance, something that has a run count of 2 can happen twice)? and what about skip count? Does it skip that many times before it actually does anything?
Thanks in advance.
captainjack
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1912
Joined: Thu Sep 13, 2012 7:42 am

Re: Run/Skip Count

Post by captainjack »

I think it works as follows:
Run X, Skip Y
Runs it X times with a break of Y turns between each action.

While waiting for one of the more experienced modders to confirm or correct this, setting message actions is probably the best way to test it.
I'd suggest creating a few different messages each with different run and skip instructions - if you put run x skip y in the body of the message you will get rapid confirmation of what is happening.

It's strange that I hadn't thought of doing this until you asked just now, as it looks simple and sensible.
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Run/Skip Count

Post by BiteNibbleChomp »

Never used the Skip function. I can't think of any reason why I would need to. If I did want something to repeat every something or other number of turns, usually I would just create a series of events.

The run thing is good if you want to set up variables like Number of towns = Prestige per turn, then set run = 999 and individual events for each possible number of towns. I leave this on 1 all the other times.

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
captainjack
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1912
Joined: Thu Sep 13, 2012 7:42 am

Re: Run/Skip Count

Post by captainjack »

BiteNibbleChomp wrote:if you want to set up variables
I didn't know it was possible to do this.
Shame I'm so slow at writing mods or I could find a use for it!
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Run/Skip Count

Post by BiteNibbleChomp »

'tag' function lets you assign a label that can be checked in future. I've used it a bit in WotW2.

I was more referring to the idea of programming a series of events relating to an attribute, eg. number of towns = number of pp.

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Post Reply

Return to “Panzer Corps : Scenario Design”