Jump to content

Script question


Recommended Posts

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

; 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

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

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

×
×
  • Create New...