Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Problem with #CONDITION_POSITION

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding >> Problem with #CONDITION_POSITION Page: [1]
Login
Message << Older Topic   Newer Topic >>
Problem with #CONDITION_POSITION - 12/21/2018 2:16:49 PM   
Kossatx

 

Posts: 97
Joined: 8/16/2015
From: Spain
Status: offline
Hi! I written this script with the intention if Axis doesn't control any of the four specified #CONDITION_POSITION, then the script is switched on. But if more than one #CONDITION_POSITION are included in the script they are supposed to be connected with the "OR" command, so this script will not run as I want. I ask you for any suggestion to build up this script

;Trigger of the countdown for oil shortage in Germany
{
#NAME= DE 104 - Countdown for german oil reserve.
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 45
#TRIGGER= 1
#DISPLAY_ORDER= 0
#DECISION= 104
#MPP_UPDOWN= 0
#MPP_TURNS= 0
#MPP_TEXT=
#NOTES=
#NOTES_POSITION=
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP= German oil reserves are critically low.
#DATE= 1939/09/02
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
#ALIGNMENT_POSITION= 141,28 [1]
#NATIONAL_MORALE_TRIGGER= 0 [0]
#VARIABLE_CONDITION= 45 [1] [100] [0]
#CONDITION_POSITION= 1,24 [0,0] [0,0] [2] [0]
#CONDITION_POSITION= 191,44 [0,0] [0,0] [2] [0]
#CONDITION_POSITION= 185,51 [0,0] [0,0] [2] [0]
#CONDITION_POSITION= 191,58 [0,0] [0,0] [2] [0]
}
Post #: 1
RE: Problem with #CONDITION_POSITION - 12/21/2018 3:48:17 PM   
Kossatx

 

Posts: 97
Joined: 8/16/2015
From: Spain
Status: offline
Maybe it would work with #ALIGNMENT_POSITION command... I'll try.

(in reply to Kossatx)
Post #: 2
RE: Problem with #CONDITION_POSITION - 12/21/2018 4:49:54 PM   
BillRunacre

 

Posts: 4945
Joined: 7/22/2013
Status: offline
Yes, either use a string of (dummy) Decisions to trigger the event, or it will probably require a number of scripts using #ALIGNMENT_POSITION= where one is in Allied hands.

I'm afraid that I think either method will probably require multiple scripts.

_____________________________

Follow us on Twitter: https://twitter.com/FurySoftware

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

(in reply to Kossatx)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding >> Problem with #CONDITION_POSITION Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

4.906