Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

#CONDITION= changes

 
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 >> #CONDITION= changes Page: [1]
Login
Message << Older Topic   Newer Topic >>
#CONDITION= changes - 7/9/2019 12:10:51 AM   
El Condoro

 

Posts: 202
Joined: 4/2/2008
Status: offline
Is it possible to add other criteria to the #CONDITION in scripts to account for unit *type*?

For example, at the moment, we can specify a certain number of units of a certain country need to be within a range to cause #CONDITION to trigger. A garrison in Greece has the same effect on Greek morale as a tank and there can be 4 or 5 BEF garrisons in France to trigger the French morale boost. Can we change the #CONDITION to require a certain type of unit?

There could potentially be a number of levels of detail:
target_type - tanks, soft, hard, etc.
unit_type - army, corps, heavy tank
unit_name (?) - the name of a specific unit. This would need to be the internal identifier of the unit and not the editable text name, of course, or at least use the original name set.

Format: x,y [min_range, max_range] [min_units, max_units] [alignment] [aligned_country_id] [target_type] [unit_type] [unit_name]
Dummy value: 0 [0,0] [0,0] [0] [0] [0] [0] [0]

What do you think? It would allow for some interesting scripts and variations in mods perhaps.
Post #: 1
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding >> #CONDITION= changes 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

1.173