Create account / Log in

Criteria for Multi Action Button

Suggestions for additional features for the module editor and Vassal engine.

Moderators: uckelman, Tim M

Criteria for Multi Action Button

Postby grouchysmurf » April 28th, 2014, 10:15 am

In my current design, I use Global Properties as flags which determine whether certain action, triggered by Multi Action Button, is allowed at a given state of game or not. For example, there is Middle War Deck of cards which can be added to the draw pile if Early War cards had been added previously. Action which sends EW cards to the draw pile sets GP EarlyWar = 1. Multi Action Button -- or rather its GKC -- check against its GP whether it's = 1; if not, none of GKC triggers.

It would be very nice, if one could define a global condition in context of MAB...
User avatar
grouchysmurf
 
Posts: 178
Joined: August 9th, 2011, 7:48 pm

Re: Criteria for Multi Action Button

Postby uckelman » May 20th, 2014, 9:44 pm

Thus spake grouchysmurf:
> In my current design, I use Global Properties as flags which determine
> whether certain action, triggered by Multi Action Button, is allowed at
> a given state of game or not. For example, there is Middle War Deck of
> cards which can be added to the draw pile if Early War cards had been
> added previously. Action which sends EW cards to the draw pile sets GP
> EarlyWar = 1. Multi Action Button -- or rather its GKC -- check against
> its GP whether it's = 1; if not, none of GKC triggers.
>
> It would be very nice, if one could define a global condition in context
> of MAB...

The way to do this in VASSAL 4 will be directly in a script.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8985
Joined: December 10th, 2007, 9:48 am
Location: Durham, England


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests