Primary supplies and territory event (Full Version)

All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding



Message


Kossatx -> Primary supplies and territory event (1/3/2019 11:24:16 AM)

Happy new year people! Now, the problem [:)] I want to make an script to give "B" hex to a country when it occupies "A" hex. The "B" hex is a primary supply of country "Y", but I want when hex "B" is transfered to country "Z" it still remains as a primary supply for country "Z". With this script, when hex "B" is given to country "Z" stops being a supply center [:-] Any idea to solve the problem?

A hex occupied= #LINK= 1[1]
B= #MAP_POSITION= 0,26
Y= #COUNTRY_ID= 40
Z= #RECIPIENT_ID= 45

; Metz fortress - Metz city - Germany
{
#NAME= DE 1 - Metz fortress - Metz city - Germany
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 1[1]
#COUNTRY_ID= 40
#RECIPIENT_ID= 45
#REMOVE= 3
#TRIGGER= 100
#DATE= 1939/09/01
#VARIABLE_CONDITION= 45 [1] [100] [0]
#MAP_POSITION= 0,26
#MAP_POSITION= 1,26
}




BillRunacre -> RE: Primary supplies and territory event (1/3/2019 2:39:04 PM)

What script type are you using Kossatx?




Kossatx -> RE: Primary supplies and territory event (1/3/2019 6:19:21 PM)

The script attached is a territory script, linked to a decision script not attached.




BillRunacre -> RE: Primary supplies and territory event (1/4/2019 2:32:02 PM)

I'm not sure then, I think it might if transferred by a surrender script, but that would require the conquered country to surrender... which may not be the trigger you want?




Kossatx -> RE: Primary supplies and territory event (1/4/2019 8:45:04 PM)

Thanks BillRunacre, but I can't use the surrender script because I don't want the country must be surrendered for the transfer. I'll have to look for other solution [8|]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.84375