Page 1 of 1

Request for #CONDITION_POSITION statement in supply.txt

Posted: Wed Aug 14, 2024 4:14 am
by DarkHorse2
First of all, I loathe events like the following where players have no way to mitigate. (I am aware that it is not all that much damage, but still anoying never-the-less...)

Arbitrary, badness is just not fun.

To address, I wish for a #CONDITION_POSITION-like statement, such that I can make the following only fire when there is NO AA (or fighter) in the hex. (or within some proximity of the hex)

Code: Select all

{
#NAME= British Strategic Bombers Continue Night Raids On Berlin (2)
#POPUP= British Strategic Bombers Continue Night Raids On Berlin
#IMAGE=
#SOUND= explosion1.ogg
#FLAG= 1
#TYPE= 3
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 112
#ALIGNMENT_ID= 0
#FLAG_ID= 112
#TRIGGER= 100
#SEASON_FLAG= 0
#DATE= 1940/09/09
; London(147,77) [any unit]
#SOURCE_POSITION= 147,77 [-1]
; Berlin(173,74)
#DESTINATION_RESOURCE= 173,74 [1,2]
#VARIABLE_CONDITION= 112 [2] [100] [0]
#VARIABLE_CONDITION= 45 [1] [100] [0]
}

Re: Request for #CONDITION_POSITION statement in supply.txt

Posted: Wed Aug 14, 2024 8:22 am
by BillRunacre
Where have you found this script, as I cannot find it in 1939 Storm over Europe's Supply scripts?

Re: Request for #CONDITION_POSITION statement in supply.txt

Posted: Wed Aug 14, 2024 5:54 pm
by DarkHorse2
My apologies. I was confused and looking at someone's Mod and thought that it orginated from SOE.

I had already disabled them anyways...

Code: Select all

; the British strategic bombing events are disabled
; as there is noway for the Germans to mitigate via the
; scripting system (i.e. with AA or Fighters at the target) and
; they are just annoying...
Good then. I hate those poorly designed events and will happily remove them. :D