Gilber
Posts: 234
Joined: 6/13/2018 From: Luxembourg Status: offline
|
HI, I can't understand how the #LINK= parameter works in a Script Decision. To test it I made 4 elementary scripts. In the first script the Decision events 901 takes the value 1 This script is followed by 3 Decision events 902 scripts, each with different trigger conditions #LINK= 901[0], #LINK= 901[1], #LINK= 0[0]. But only the script #LINK= 0[0] is triggered. Someone understands how the #LINK= parameter works ? here is the code : { #NAME= Décision AI 901[1] #POPUP= #MESSAGE= #IMAGE= #SOUND= #FLAG= 1 #TYPE= 2 ; 2 = Sera tenté à chaque tour #AI= 2 #LEVEL= 0 #COUNTRY_ID= 45 #TRIGGER= 100 #DISPLAY_ORDER= 1 #GV= 1[1,100] #LINK= 0[0] ; 0[0] = Script toujours Activé #DECISION= 901 #MPP_UPDOWN= 0 #MPP_TURNS= 0 #MPP_TEXT= #NOTES= #NOTES_POSITION= #AI_RESPONSE= 100 ; % de réponse favorable #AI_RESPONSE_POPUP= LINK= 0[0] -----> 901[1] = True #DATE= 1939/09/01 #TEXT_RGB= 0,0,0 #SHADOW_RGB= 0,0,0 #ALIGNMENT_POSITION= 147,77 [2] ; 147,77 = Londres #NATIONAL_MORALE_TRIGGER= 0 [0] #VARIABLE_CONDITION= 112 [2] [100] [0] #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] ; Script Toujours Activé } { #NAME= Décision AI 902[1] + #POPUP= #MESSAGE= #IMAGE= #SOUND= #FLAG= 1 #TYPE= 2 ; 2 = Sera tenté à chaque tour #AI= 2 #LEVEL= 0 #COUNTRY_ID= 45 #TRIGGER= 100 #DISPLAY_ORDER= 1 #GV= 1[1,100] #LINK= 901[1] #DECISION= 902 #MPP_UPDOWN= 0 #MPP_TURNS= 0 #MPP_TEXT= #NOTES= #NOTES_POSITION= #AI_RESPONSE= 100 ; % de réponse favorable #AI_RESPONSE_POPUP= LINK= 901[1] -----> 902[1] = True #DATE= 1939/09/01 #TEXT_RGB= 0,0,0 #SHADOW_RGB= 0,0,0 #ALIGNMENT_POSITION= 147,77 [2] ; 147,77 = Londres #NATIONAL_MORALE_TRIGGER= 0 [0] #VARIABLE_CONDITION= 112 [2] [100] [0] #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] ; Script Toujours Activé } { #NAME= Décision AI 902[1] ++ #POPUP= #MESSAGE= #IMAGE= #SOUND= #FLAG= 1 #TYPE= 2 ; 2 = Sera tenté à chaque tour #AI= 2 #LEVEL= 0 #COUNTRY_ID= 45 #TRIGGER= 100 #DISPLAY_ORDER= 1 #GV= 1[1,100] #LINK= 901[0] #DECISION= 902 #MPP_UPDOWN= 0 #MPP_TURNS= 0 #MPP_TEXT= #NOTES= #NOTES_POSITION= #AI_RESPONSE= 100 ; % de réponse favorable #AI_RESPONSE_POPUP= LINK= 901[0] -----> 902[1] = True #DATE= 1939/09/01 #TEXT_RGB= 0,0,0 #SHADOW_RGB= 0,0,0 #ALIGNMENT_POSITION= 147,77 [2] ; 147,77 = Londres #NATIONAL_MORALE_TRIGGER= 0 [0] #VARIABLE_CONDITION= 112 [2] [100] [0] #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] ; Script Toujours Activé } { #NAME= Décision AI 902[1] +++ #POPUP= #MESSAGE= #IMAGE= #SOUND= #FLAG= 1 #TYPE= 2 ; 2 = Sera tenté à chaque tour #AI= 2 #LEVEL= 0 #COUNTRY_ID= 45 #TRIGGER= 100 #DISPLAY_ORDER= 1 #GV= 1[1,100] #LINK= 0[0] #DECISION= 902 #MPP_UPDOWN= 0 #MPP_TURNS= 0 #MPP_TEXT= #NOTES= #NOTES_POSITION= #AI_RESPONSE= 100 ; % de réponse favorable #AI_RESPONSE_POPUP= LINK= 0[0] -----> 902[1] = True #DATE= 1939/09/01 #TEXT_RGB= 0,0,0 #SHADOW_RGB= 0,0,0 #ALIGNMENT_POSITION= 147,77 [2] ; 147,77 = Londres #NATIONAL_MORALE_TRIGGER= 0 [0] #VARIABLE_CONDITION= 112 [2] [100] [0] #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] ; Script Toujours Activé }
Attachment (1)
_____________________________
Gilles
|