Tim,

>On 19/03/2006 at 11:23 AM Tim McCarron wrote:
>Will the variable markers be added to 2.6? 

Yes, Rodney is 'integrating' my Dynamic Properties (AKA Variable Markers) 
submission into VASSAL as we speak.


>Because the variable marker is numeric will it also be possible to adjust
>the marker by referencing the returned value of a dice roll as opposed to
>key command?
>
>marker x = 2, a dice is rolled and returns 4, the expression will add or
>subtract (depending on setup) the value of the dice roll from marker x if
>there is a relationship set to do so.
>
>If the returned value of a dice roll can also be linked in, I can see some
>very powerful trigger loop events being built in with the use of the
>variable markers. 


Just thinking out loud about what will easily fit into the current framework:

1. An extension of the Dynamic Properties also being incorporated into 2.6 are 
Global Properties. These are properties/markers that are created, maintained 
and accessed at either the Map level (i.e. every counter on a map sees the same 
value for the property) or the GameModule (i.e. every counter in themodule sees 
the same value for the proprerty). The DiceButton class(es) could easily be 
modified to stored the total of the roll into a Global Property that could then 
be referenced by Dynamic Properties attached to counters. 

2. Then, all we need to do, the piece de resistance (pardon my french), is 
attach a Global Key Command to the DiceButton that fires whenever the Dice are 
rolled.

The sequence would then be:
 a) Dice Button pressed, player enters options if required
 b) Dice Roll
 c) Total rolled is stored into Global Property
 d) Global Key Command(s) is run by DiceButton
 e) A Dynamic Property attached to a counter somewhere uses the Dice Global 
Property to do something. Many options here. The GKC from step D could only 
affect counters who have a property that is equal to the roll result for 
example.

How does that sound?

Brent.


____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to