Page 1 of 1

Dummy decision event assigned to no country?

Posted: Wed Dec 19, 2018 12:59 pm
by Kossatx
Hi, is it possible to make a dummy decision event assigned to no country? For example, I've assigned this event to Germany, so if an human player plays with Axis will have to decide if signs or not the pact. I would like once the event will be triggered the player couldn't decide because it will be randomly decided (95% yes, 5% not). Probably, this event could be maked with other script, but I need it to have a #DECISION number in order to link it to other events... so if I have understand the script mechanics, I should make this event with a decision script.

Code: Select all

{
 #NAME= DE 101 - Molototov-Ribentrop Pact  (AI - 95% Yes)
 #POPUP= The USSR and Germany sign the Molototov-Ribentrop collaboration pact.
 #IMAGE=
 #SOUND=
 #FLAG= 1
 #TYPE= 1
 #AI= 0
 #LEVEL= 0
 ;Set global variable condition to always trigger (dummy value)
 #GV= 1[1,100]
 ;Set link value to always trigger (dummy value)
 #LINK= 0[0]
 #COUNTRY_ID= 45
 #TRIGGER= 100
 #DISPLAY_ORDER= 0
 ; Set decision value
 #DECISION= 101
 #MPP_UPDOWN= 0
 #MPP_TURNS= 0
 #MPP_TEXT=+
 #NOTES=
 #NOTES_POSITION=
 ; Set AI acceptance % (AI will accept 95% of the time)
 #AI_RESPONSE= 95
 #AI_RESPONSE_POPUP= The USSR and Germany sign the Molototov-Ribentrop collaboration pact.
 #DATE= 1939/09/01
 #TEXT_RGB= 0,0,0
 #SHADOW_RGB= 0,0,0
 #ALIGNMENT_POSITION= 141,28 [1]
 #NATIONAL_MORALE_TRIGGER= 0 [0]
 #VARIABLE_CONDITION= 45 [1] [100] [0]
 #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
 }
 

RE: Dummy decision event assigned to no country?

Posted: Thu Dec 20, 2018 9:05 am
by Kossatx
Well, with essay-error method I think is possible to do it setting #POPUP= in blank, setting #AI_RESPONSE= to 100 and setting #TRIGGER= to the desired AI response real percent value. With these values the decision script works and human player can't decide what to do. Anyone thinks I'm wrong or has any better idea?

RE: Dummy decision event assigned to no country?

Posted: Thu Dec 20, 2018 3:02 pm
by BillRunacre
That is correct, as if the #POPUP field is blank then that turns the Decision into what we call a Dummy Decision.

RE: Dummy decision event assigned to no country?

Posted: Thu Dec 20, 2018 5:16 pm
by Kossatx
Great! Thanks again [:)]

RE: Dummy decision event assigned to no country?

Posted: Sat Mar 23, 2019 10:41 pm
by BrendaBrannon
As I saw, it was not a problem to do so. Have you tried already?