Tags

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

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

Post Reply
captainjack
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1912
Joined: Thu Sep 13, 2012 7:42 am

Tags

Post by captainjack »

Imagine I have three objectives. Capturing each one creates a tag.
I want to set DV = all three tags
MV = any two tags

Is there an function for tags eg AND (Tag1, Tag2, Tag3) or an
OR function eg OR (Tag1, Tag2) so I can set up
"if this tag and either of these two you win"

I can do a manual work around but it's a bit of a long winded process.

And my bonus question:
Is it possible to count number of units - for example I want to add 10 fuel for each supply dump, so +30 if 3 present, +50 if 5 present?
I know you can run through
if this many add x;
if this many add y
If that much add z.

Is there another way?
Yrfin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 818
Joined: Sun Dec 04, 2016 6:47 am
Location: Behind your backs

Re: Tags

Post by Yrfin »

When im died - I must be a killed.
huckc
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 533
Joined: Mon Apr 24, 2017 1:38 pm
Location: USA

Re: Tags

Post by huckc »

Imagine I have three objectives. Capturing each one creates a tag.
I want to set DV = all three tags
MV = any two tags

Is there an function for tags eg AND (Tag1, Tag2, Tag3) or an
OR function eg OR (Tag1, Tag2) so I can set up
"if this tag and either of these two you win"

I can do a manual work around but it's a bit of a long winded process.
Putting down a zone for those three objectives would be easiest, call it zone 1 as an example.

DV: [axis/allied] flags in zone 1 greater than 2
MV: [axis/allied] flags in zone 1 greater than 1 and less than 3

If those are the only objectives then can just go by primary objective count in that example rather than zone.
And my bonus question:
Is it possible to count number of units - for example I want to add 10 fuel for each supply dump, so +30 if 3 present, +50 if 5 present?
I know you can run through
if this many add x;
if this many add y
If that much add z.

Is there another way?
I believe that's the best way, having a script line for each possible dump count or list each dump by name have them give +10 each if they exist.
Post Reply

Return to “Panzer Corps : Scenario Design”