User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

EvalSubUnitCount result as a variable

Wed Aug 20, 2008 6:49 pm

I've got this bit of code [and it works!]

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 :)
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Thu Aug 21, 2008 9:08 am

Remind about that after the first of september please :)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 6 guests