Primary supplies and territory event
Posted: Thu Jan 03, 2019 9:24 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
A hex occupied= #LINK= 1[1]
B= #MAP_POSITION= 0,26
Y= #COUNTRY_ID= 40
Z= #RECIPIENT_ID= 45
Code: Select all
; 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
}