ebitt Posted May 31, 2008 Share Posted May 31, 2008 I was attempting to add resources to a country useing the technique of the existing script. In every case it passed the failsafe date and did not execute. I made a simple test by altering the existing script as shown below. In every test the script will not execute at the specified date. Am I missing some essential condition? { #NAME= USA Victory in the Pacific #POPUP= Japan Surrenders, US Industry Mobilizes For Total War In Europe #IMAGE= american_industry.bmp #SOUND= industry.wav #FLAG= 1 #TYPE= 1 #AI= 0 #LEVEL= 0 #COUNTRY_ID= 3 #TRIGGER= 0 #GV= 1[1,100] #LINK= 0[0] ; Failsafe Activation Date on Surrender of Japan #DATE= 1939/05/01 #RESOURCE= 1,26 ; Dummy condition, always satisfied #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] } 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted May 31, 2008 Share Posted May 31, 2008 Hi Ebitt, Yes your #TRIGGER= value is set at 0 so it will simply not activate. Try setting it to 100% and it should work as intended. Hubert 0 Quote Link to comment Share on other sites More sharing options...
ebitt Posted May 31, 2008 Author Share Posted May 31, 2008 Thanks! My intent was to have the resource become available on a specific date. The trigger in the stock script is zero, so I thought that it was intended. If the trigger is non-zero won't it possibly activate at some random time before the failsafe date? 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted June 1, 2008 Share Posted June 1, 2008 Looks like the stock script is incorrect then if the TRIGGER value was set to 0. If you want it to trigger on a specific date all you would need is a dummy condition that is never true such as the following: #CONDITION_POSITION= 0,0 [0,0] [1,1] [1] [0] All this is saying is that is there an Axis unit at tile 0,0 which of course cannot happen since no unit can enter that tile. Hope this helps, Hubert 0 Quote Link to comment Share on other sites More sharing options...
ebitt Posted June 1, 2008 Author Share Posted June 1, 2008 Thank you, that should do the trick. In both the US and Canadian scripts (1939 Storm of Steel)the trigger is 0 and the remark for the Condition_Position says it is always true (copy of the CA script below) #NAME= Canadian Industry Mobilizes For Total War #POPUP= Canadian Industry Mobilizes For Total War #IMAGE= #SOUND= troops2.wav, industry.wav #FLAG= 1 #TYPE= 1 #AI= 0 #LEVEL= 0 #COUNTRY_ID= 14 #TRIGGER= 0 #GV= 1[1,100] #LINK= 0[0] ; Failsafe Activation Date on Surrender of Japan #DATE= 1945/08/10 #RESOURCE= 10,22 #RESOURCE= 27,24 ; Dummy Condition Position, always satisfied #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0] 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted June 2, 2008 Share Posted June 2, 2008 Thanks Ebitt, these have been corrected for the first patch. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.