Game Engine Crash territory.txt
Posted: Mon Jan 01, 2024 12:34 pm
The below command causes the game engine to crash, Hex 1,250 is not assigned to any country so it is defaulted to COUNTR_ID= 0 which is on the countries list.
I am trying to use the hex as a True/Fales hex to be used for other events to determine what to do. In this case I am trying to detect if Japan is taking aggressive steps in the Pacific.
Regardless of the reason the game engine still crashes immediately upon the execution. I am 100% convinced it is because of #COUNTRY_ID= 0 even though it technically is a valid country on the list (and is mentioned in the text files)
NOTE: The Editor says that the
{
#NAME= Flag Indicator for Japan Pacific Aggression
#POPUP= Bit Hex
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 0
#RECIPIENT_ID= 115
#REMOVE= 0
#TRIGGER= 100
#DATE= 1939/09/01
#VARIABLE_CONDITION= 112 [2] [100] [0]
#MAP_POSITION= 1,250
}
I am trying to use the hex as a True/Fales hex to be used for other events to determine what to do. In this case I am trying to detect if Japan is taking aggressive steps in the Pacific.
Regardless of the reason the game engine still crashes immediately upon the execution. I am 100% convinced it is because of #COUNTRY_ID= 0 even though it technically is a valid country on the list (and is mentioned in the text files)
NOTE: The Editor says that the
{
#NAME= Flag Indicator for Japan Pacific Aggression
#POPUP= Bit Hex
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 0
#RECIPIENT_ID= 115
#REMOVE= 0
#TRIGGER= 100
#DATE= 1939/09/01
#VARIABLE_CONDITION= 112 [2] [100] [0]
#MAP_POSITION= 1,250
}