Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

VARIABLE_CONDITION

 
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: World War I >> MODS and Scenarios >> VARIABLE_CONDITION Page: [1]
Login
Message << Older Topic   Newer Topic >>
VARIABLE_CONDITION - 5/2/2021 5:35:50 PM   
Robert24


Posts: 176
Joined: 7/26/2013
Status: offline
Good morning,

Since countries exit the game one of two ways, armistice or surrender; I was wondering if the variable “#VARIABLE_CONDITION” handles both armistice and surrender the same.

; #VARIABLE_CONDITION= Under what variable conditions will this event occur
; Format: country_id [political_alignment] [mobilization%] [surrendered_flag]

After a country exited the game by surrendered will a script fire with a #VARIABLE_CONDITION, surrendered_flag = 1?

After a country exited the game by armistice will a script fire with a #VARIABLE_CONDITION, surrendered_flag = 1?

Post #: 1
RE: VARIABLE_CONDITION - 5/2/2021 8:37:17 PM   
BillRunacre

 

Posts: 4945
Joined: 7/22/2013
Status: offline
If it has withdrawn via an armistice, then the Variable Condition will have to reflect that the country is neutral.

It may therefore be necessary to add a dummy Decision that checks for it being fully mobilized, with that acting as one of the triggers for the script(s) you're thinking of adding.

_____________________________

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

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

(in reply to Robert24)
Post #: 2
RE: VARIABLE_CONDITION - 5/3/2021 3:50:52 AM   
Robert24


Posts: 176
Joined: 7/26/2013
Status: offline
Thank you Bill.

To clarify, after Germany withdrawals from the war, the various scripts that use this Variable Condition would fire if it reads as below?

; 1st Line - Germany politically neutral, not mobilized and not surrendered
#VARIABLE_CONDITION= 45 [0] [0] [0]

(in reply to BillRunacre)
Post #: 3
RE: VARIABLE_CONDITION - 5/4/2021 9:21:11 AM   
BillRunacre

 

Posts: 4945
Joined: 7/22/2013
Status: offline
Not quite, as she will still have an Axis leaning, so try this:

; 1st Line - Germany pro-Central Powers but not fully mobilized
#VARIABLE_CONDITION= 45 [1] [0] [0]

_____________________________

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

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

(in reply to Robert24)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command: World War I >> MODS and Scenarios >> VARIABLE_CONDITION 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

2.875