Holding obj for x turns

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Holding obj for x turns

Post by Erik2 »

I've set up an objective to be held for 4 turns, but it always fails in the game no matter how many turns it is held.

I've tried the turn<5 in the screenshot and also turn=4.
I believe I got this working in previous game versions.
Attachments
holding obj for x turns.jpg
holding obj for x turns.jpg (37.67 KiB) Viewed 2346 times
earlecook
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Sat Jan 16, 2016 2:46 am
Location: Cordova, Alaska
Contact:

Re: Holding obj for x turns

Post by earlecook »

The way I "see" Check Turn is you would have (4) turns to make it true (turn 1 thru 4), Check Hex Owner (also) = true. In order for it to be a positive outcome, after (4) turns Check Turn = False.

Hope this is helpful,
Earle
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Holding obj for x turns

Post by Erik2 »

My question is this: if I hold the objective for 4 turns, shouldn't the ? in the order screen turn to the green check-mark?
That is my aim, but whenever teh enemy captures the objective after turn-4, my objective fails.
earlecook
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Sat Jan 16, 2016 2:46 am
Location: Cordova, Alaska
Contact:

Re: Holding obj for x turns

Post by earlecook »

Erik,
I think the determination for objectives may be done at the end of game.

I have worked out a routine that will tell you how many turns a hex is occupied or a certain number, I chose (5) occupied turns. I only completed (10) turns worth, so on turn 1 - 5 you will get completion, the rest will stop short.

https://www.dropbox.com/sh/726ln0i8i1w6 ... Bdj6a?dl=0


I think, you can set up a blind trigger, that activates when your conditions are met and set the objectives for the end of game on the last turn and get the end result you want.

Earle
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Holding obj for x turns

Post by Erik2 »

Thanks, I'll check the test-scenario.
My simple trigger/event-pair used to work in earlier game-versions. That's why I'm stumped.
uran21
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 2318
Joined: Thu Dec 02, 2010 8:34 pm

Re: Holding obj for x turns

Post by uran21 »

There is not enough information in your description Erik to work out the problem. It can be caused by trivial thing like forgetting to set target hex.
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Holding obj for x turns

Post by Erik2 »

Check owner is correct (of course... :D )
And the Set Objectives too.
uran21
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 2318
Joined: Thu Dec 02, 2010 8:34 pm

Re: Holding obj for x turns

Post by uran21 »

If Check Hex Owner is correct, with settings for other condition and effect same as on screenshot, you should get this objective completed on first turn (because it is set to < 5). Thing that might holding it could be wrong Trigger Event.
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Holding obj for x turns

Post by Erik2 »

But I've tried turn = 6 also, still failed.
uran21
Panzer Corps Map Designer
Panzer Corps Map Designer
Posts: 2318
Joined: Thu Dec 02, 2010 8:34 pm

Re: Holding obj for x turns

Post by uran21 »

If Objective State results in Failed this includes another trigger involved. If it gives result not depicting actual situation in scenario it may be that other trigger is broken. If you have two triggers mutually connected maybe one is disabling the other... There are many thing that could go wrong.

I would suggest to you to make test scenario containing only triggers for this particular situation and test it. If it doesn't work upload it here.
earlecook
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Sat Jan 16, 2016 2:46 am
Location: Cordova, Alaska
Contact:

Re: Holding obj for x turns

Post by earlecook »

Erik,

Did you ever work this out?

Thanks,
Earle
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Holding obj for x turns

Post by Erik2 »

Yes, I set up an objective for the Jap AI as well. The combination did the trick.
I wanted the Aus to hold the objective at turn x and fail if the Japanese captured it anytime before turn x.

Aus defend event: Check owner= Aus, Check turn = x, Set objective = Completed (the Jap mirror objective is set to fail)
Jap capture event: Check owner= Jap, Check turn < x, Set objective = Completed (the Aus mirror objective is set to fail)

It is easier to set up than explain...
Post Reply

Return to “Order of Battle : World War II - Scenario Design”