Page 1 of 1
What does #FLAG_ID command mean?
Posted: Thu Dec 20, 2018 10:45 am
by Kossatx
Hi, I'm not sure what does #FLAG_ID command mean. In the instructions it says: "Flag ID that will be shown in the popup for this event". So, is only text information? [&:]
RE: What does #FLAG_ID command mean?
Posted: Thu Dec 20, 2018 2:20 pm
by Kossatx
Now I think I understand the meaning, but this supply script I have done still don't works and I don't know why. The map coordinates are ok, and the TYPE 2 is to trigger this script each time decision 103 is positively triggered. Anyone can help me about this?
Code: Select all
{
#NAME= Fuel shortage disrupts German Industry.
#POPUP= Fuel shortage disrupts German Industry.
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 103[1]
#COUNTRY_ID= 45
#FLAG_ID= 45
#TRIGGER= 100
#SEASON_FLAG= 0
#DATE= 1939/09/01
#SOURCE_POSITION=
#DESTINATION_RESOURCE= 142,31 [1,2]
#VARIABLE_CONDITION= 45 [1] [100] [0]
}
RE: What does #FLAG_ID command mean?
Posted: Thu Dec 20, 2018 3:04 pm
by BillRunacre
The issue is that a Supply script cannot target its own side.
The solution is to change #COUNTRY_ID= to the UK (112).
The #FLAG_ID= is there so you can make it appear as if the script belongs to Germany, when really it belongs to the UK! [:)]
RE: What does #FLAG_ID command mean?
Posted: Thu Dec 20, 2018 5:16 pm
by Kossatx
ORIGINAL: BillRunacre
The issue is that a Supply script cannot target its own side.
The solution is to change #COUNTRY_ID= to the UK (112).
The #FLAG_ID= is there so you can make it appear as if the script belongs to Germany, when really it belongs to the UK! [:)]
Wow! It works but I can't understand why. I tried with #COUNTRY_ID= 116 (USSR), but it didn't worked. Is because USSR is still neutral? I don't understand why must be with the UK. Thanks a lot BillRunacre [&o]
RE: What does #FLAG_ID command mean?
Posted: Thu Dec 20, 2018 5:20 pm
by Kossatx
I'll auto-answer me: it didn't worked with the USSR because it was still neutral. I've tested the script with France and it works too. Thanks!
RE: What does #FLAG_ID command mean?
Posted: Fri Dec 21, 2018 2:37 pm
by BillRunacre
That's right! [:)]