Page 1 of 1

custom objectives

Posted: Tue May 31, 2022 7:31 am
by peterw
For a transfer scenario I need to use custom objectives.
Does anyone know the purpose of the fail parameter?

I can use it be defining the success parameter and the “opposite” in the fail parameter. But I see no advantage in compare using only the success parameter.
But if I let the fail parameter empty the game crashes (tried with V1.2.3). If it helps, I can get the actual version and try again.

It would be helpful knowing the purpose of the fail parameter; but it’s not documented.

Re: custom objectives

Posted: Tue May 31, 2022 3:26 pm
by dalfrede
A 'Fail' parameter example is 'Wagner must Survive'.
If Wagner dies, Game Over, you lost.
Example 2. 'Hold X at End' .

If you have Fail parameter of 'None' does it still crash?

Re: custom objectives

Posted: Wed Jun 01, 2022 9:50 am
by peterw
Thank you for the answer!
I'll test it.

Edit:
An empty fail parameter generates always a crash. But there is an easy solution, if no fail path is needed (as in my case):
You program return = false

This is the solution for me, thanks,
Peter