EvalSubUnitCount result as a variable
Posted: Wed Aug 20, 2008 6:49 pm
I've got this bit of code [and it works!]
What I'd really like is to have the SubUnitCount value passed in a variable to the ChgFacEngagementPts
So I could have:
ChgFacEngagementPts = EsvIntVar0
Thanks
SelectFaction = $USA
StartEvent = evt_nam_Priv_EP_1|999|1|NULL|NULL|NULL|NULL
Conditions
SelectFaction = $USA
SelectSubUnits = Region $New England Shipping Lanes;Models $mdl_USA_Brg $mdl_USA_Frg
EvalSubUnitCount = >=;1
Actions
ChgFacEngagementPts = 1
EndEvent
What I'd really like is to have the SubUnitCount value passed in a variable to the ChgFacEngagementPts
So I could have:
ChgFacEngagementPts = EsvIntVar0
Thanks
