Page 9 of 10

Re: Making a scenario using "Regicide" type of victory

Posted: 24 Feb 2019, 03:09
by Dr.MonaLisa
"script says so" victory condition.
It must be set by the script when player loses

Re: Making a scenario using "Regicide" type of victory

Posted: 24 Feb 2019, 11:39
by Bogdan
It is set

Re: Making a scenario using "Regicide" type of victory

Posted: 24 Feb 2019, 12:34
by Dr.MonaLisa
Then it doesn't work. Perhaps incorrect script.

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 13:49
by Bogdan
Hello again, I remember you've gave me an advice to use this in description

Code: Select all

\"
but I don't understand now how is this possible:

Code: Select all

brief = "Probably, my last scenario. This one is about changing history.\n\nI’ve always
Parse error: line 69:79: expecting " " ", found " I "

Is that really in some cases there's restrictions for characters number?

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 14:00
by Dr.MonaLisa
Does this string end with a quote character?

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 14:57
by Bogdan


Added after 38 minutes 12 seconds:
Here's full script. I don't understand the reason of these errors :(

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 15:43
by Dr.MonaLisa
Can't check it now. Try to escape all " " " and " ' " characters with " \ ".

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 15:58
by Bogdan
Escaping ' symbols doesn't help either. Furthermore, my last script worked without that. Very strange

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 16:00
by Dr.MonaLisa
Maybe cut it in pieces and test where exactly problems start?

Re: Making a scenario using "Regicide" type of victory

Posted: 03 Mar 2019, 16:31
by Bogdan
It turns out that script doesn't work if you use

Code: Select all

'
or

Code: Select all

-
And this

Code: Select all

\
does not help.

So I just got rid of these symbols