Why no consistency with #CONDITION_POSITION ?

Post bug reports and ask for help with other issues here.
Post Reply
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Why no consistency with #CONDITION_POSITION ?

Post by DarkHorse2 »

Why can I not use '[<]' symbol with #CONDITION_POSITION in surrender_2.txt like I can in popup.txt ?

Why have the same statements act differently?

In popup.txt I can do the following...

Code: Select all

; Axis have less than 4 units within 10 hexes of Warsaw(188,76)
#CONDITION_POSITION= 188,76 [10,10] [4,4] [1] [0] [<]
But this causes a scripting error in surrender_2.txt :?: :?: :?:

CONDITION_POSITION error.jpg
CONDITION_POSITION error.jpg (131.78 KiB) Viewed 304 times
User avatar
Hubert Cater
Posts: 6052
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: Why no consistency with #CONDITION_POSITION ?

Post by Hubert Cater »

This will be possible in the next update/patch, e.g. all events that use the #CONDITION_POSITION will be able to make use of the [<] as well as the <unit_id, ...> functionality.
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Re: Why no consistency with #CONDITION_POSITION ?

Post by DarkHorse2 »

Hubert Cater wrote: Mon Aug 19, 2024 1:07 pm This will be possible in the next update/patch, e.g. all events that use the #CONDITION_POSITION will be able to make use of the [<] as well as the <unit_id, ...> functionality.
Excellent.

This is a good direction to go!

:D
Post Reply

Return to “Tech Support”