#CONDITION_POSITION

Strategic Command WWII World at War Tech Support
Post Reply
El_Condoro
Posts: 509
Joined: Sat Aug 03, 2019 4:35 am

#CONDITION_POSITION

Post by El_Condoro »

I remember reading a thread related to this recently but can't find it, so I will ask.

#CONDITION_POSITION= x,y [0,0] [0,0] [alignment] [country_id]

I thought this condition would be met if there were no units of alignment and country_id in x,y but some of my scripts are not working this way (i.e. at all) I thought I read about a [<] that could be added but haven't found a reference in the patch notes. Can someone confirm that there has been a change and what it is, please?
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
BillRunacre
Posts: 6062
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: #CONDITION_POSITION

Post by BillRunacre »

Can you post some examples of your scripts?
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
El_Condoro
Posts: 509
Joined: Sat Aug 03, 2019 4:35 am

Re: #CONDITION_POSITION

Post by El_Condoro »

This script is meant to impose a NM penalty if Mittelheim (ID= 116) does not have a unit in Trondheim. It fires even when there is a Mittelheim unit in the city.

Edit: I have started another game and the issue does not seem to be occuring.

Code: Select all

{
#NAME= Undefended Trondheim
#POPUP= No Mittelheim Defenders In Trondheim
#IMAGE= 
#SOUND= 
#FLAG= 1
#TYPE= 2
#AI= 4
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 116
#NM_UPDOWN= -500
#NM_TURNS= 1
#DATE= 1000/1/1
#OBJECTIVE_TEXT_POSITION= 129,56
#ALIGNMENT_POSITION= 129,56[1]
#VARIABLE_CONDITION= 116 [1] [100] [0]
;No Mittelheim unit in Trondheim
#CONDITION_POSITION= 129,56 [0,0] [0,0] [1] [116]
}
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
BillRunacre
Posts: 6062
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: #CONDITION_POSITION

Post by BillRunacre »

Is Mittleheim an Axis (equivalent) country?

#CONDITION_POSITION= 129,56 [0,0] [0,0] [1] [116]

Edit: I have seen your edit, so will hold fire on worrying further unless it does reoccur. Fingers crossed for now! :)
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “Tech Support”