Cantona66 Posted May 6, 2010 Share Posted May 6, 2010 Should not this script place Stulpnagel in 90,31 (Paris) 1940 september? France is defeated. It used to work in PDE ; Germany (General von Stulpnagel) { #NAME= General von Stulpnagel appointed as military commander of France #POPUP= General von Stulpnagel appointed as military commander of France #IMAGE= stulpnagel.bmp #SOUND= #FLAG= 1 #TYPE= 1 #AI= 0 #GV= 1[1,100] #LINK= 0[0] #LEVEL= 0 #COUNTRY_ID= 5 #TRIGGER= 100 #FULL_RESEARCH= 1 #DATE= 1940/09/01 #FAILSAFE_DATE= 1941/01/01 #DESTINATION_RESOURCE= 90,31 #VARIABLE_CONDITION= 2 [2] [100] [1] ; dummy condition position (never satisfied) #CONDITION_POSITION= 0,0 [0,0] [1,1] [0] [0] #UNIT= 0 [6] [0] [von Stulpnagel] } Link to comment Share on other sites More sharing options...
Amadeus Posted May 7, 2010 Share Posted May 7, 2010 Do you already add Von Stulpnagel in the Editor? The script can't create a unit. Link to comment Share on other sites More sharing options...
PowerGmbH Posted May 7, 2010 Share Posted May 7, 2010 ; dummy condition position (never satisfied) #CONDITION_POSITION= 0,0 [0,0] [1,1] [0] [0] THis condition should be replaced with: ; dummy condition position (allways satisfied) #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] and aditionally it would be good to check what China (?)( Country ID 2 ) has to do with this event, as this means CHINA must have surrendered in order to get the Unit placed. Maybe change #VARIABLE_CONDITION= 2 [2] [100] [1] with #VARIABLE_CONDITION= 23 [2] [100] [1] ( i think 23 is Coutnry ID France ) hope this helps. Link to comment Share on other sites More sharing options...
Cantona66 Posted May 7, 2010 Author Share Posted May 7, 2010 Thanks for the answer, in my MOD France is country 2 Link to comment Share on other sites More sharing options...
Hubert Cater Posted May 7, 2010 Share Posted May 7, 2010 The first date entry is the minumum date that must be achieved before the script will fire and the second date is the fail safe that will fire the script regardless if the CONDITION_POSITION is satisfied. Since the CONDITION_POSITION you have set is never satisfied the unit will not appear until the failsafe date. To have the unit arrive in 1940 as desired you can change the failsafe date to the same date or simply change the CONDITION_POSITION to one that is true. Hubert Link to comment Share on other sites More sharing options...
Cantona66 Posted May 7, 2010 Author Share Posted May 7, 2010 just to now, when csn it be interesting to have a condition position that never is satisfied? Link to comment Share on other sites More sharing options...
Hubert Cater Posted May 7, 2010 Share Posted May 7, 2010 I think this was mostly a legacy to the older UNIT script system where we simply had a failsafe date but now it can be used as a way of reminding the scripter that we are simply relying on the failsafe date and not the condition positions etc. Link to comment Share on other sites More sharing options...
crispy131313 Posted May 8, 2010 Share Posted May 8, 2010 Cantona66 I beleive this is why I was having a walk in the park through Russia. I was checking through the scripts and very very many of the Russia units scripts have a first date of 01/01/1942. I had already taken Moscow and Stalingrad by then and nearly every major city. So the unit scripts that came with each major battle for cities never triggered. Link to comment Share on other sites More sharing options...
Cantona66 Posted May 8, 2010 Author Share Posted May 8, 2010 Yes crispy, it was your input that made me check this, it is changed now. Link to comment Share on other sites More sharing options...
Recommended Posts