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.
|