What does #FLAG_ID command mean?

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
Kossatx
Posts: 97
Joined: Sun Aug 16, 2015 5:48 pm
Location: Spain

What does #FLAG_ID command mean?

Post 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? [&:]
Kossatx
Posts: 97
Joined: Sun Aug 16, 2015 5:48 pm
Location: Spain

RE: What does #FLAG_ID command mean?

Post 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]
 }
User avatar
BillRunacre
Posts: 6824
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: What does #FLAG_ID command mean?

Post 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! [:)]
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Kossatx
Posts: 97
Joined: Sun Aug 16, 2015 5:48 pm
Location: Spain

RE: What does #FLAG_ID command mean?

Post 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]
Kossatx
Posts: 97
Joined: Sun Aug 16, 2015 5:48 pm
Location: Spain

RE: What does #FLAG_ID command mean?

Post 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!
User avatar
BillRunacre
Posts: 6824
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: What does #FLAG_ID command mean?

Post by BillRunacre »

That's right! [:)]
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “Scenario Design and Modding”