Jump to content

Failsafe Date Problem


Recommended Posts

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]

}

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...