Page 1 of 1

Holding obj for x turns

Posted: Sat May 07, 2016 4:01 pm
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.

Re: Holding obj for x turns

Posted: Sat May 07, 2016 7:42 pm
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

Re: Holding obj for x turns

Posted: Sat May 07, 2016 8:13 pm
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.

Re: Holding obj for x turns

Posted: Sun May 08, 2016 5:00 am
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

Re: Holding obj for x turns

Posted: Sun May 08, 2016 8:00 am
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.

Re: Holding obj for x turns

Posted: Sun May 08, 2016 9:23 am
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.

Re: Holding obj for x turns

Posted: Sun May 08, 2016 3:11 pm
by Erik2
Check owner is correct (of course... :D )
And the Set Objectives too.

Re: Holding obj for x turns

Posted: Sun May 08, 2016 3:36 pm
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.

Re: Holding obj for x turns

Posted: Mon May 09, 2016 8:00 am
by Erik2
But I've tried turn = 6 also, still failed.

Re: Holding obj for x turns

Posted: Mon May 09, 2016 9:23 am
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.

Re: Holding obj for x turns

Posted: Sat May 14, 2016 2:11 pm
by earlecook
Erik,

Did you ever work this out?

Thanks,
Earle

Re: Holding obj for x turns

Posted: Sat May 14, 2016 2:38 pm
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...