I should add you also need to add a reset to your TempCalc DP to set it back
to same value as the other DP after the sequence is complete -  you can tie
that in with your discard or whatever. This is just so it works properly
every time that the card gets drawn 

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tim McCaron
Sent: Thursday, October 25, 2007 9:28 PM
To: [email protected]
Subject: RE: [vassalengine] Global property reference

 

Sounds almost right, just needs some tweaking.

The first trigger that sets the DP to the GP (CurrentValue), leave as is.

Have the second trigger follow, but remove the PME on it and rebuild
differently as follows.

Have the second trigger fire two commands CTRL X and CTRL Y

Add a second DP (lets call it TempCalc) to the card identical to the other
DP that set CurrentValue but give it a wide numeric range.

Add the key command in the TempCalc DP, CTRL X : set it to -$HighScore$
(your other GP, note the minus sign)

Add a third trigger that fires on CTRL Y that executes CTRL Z Give it the
PME: TempCalc <0

Finally add a set GP with command CTRL Z that will set the GP (HighScore) to
your Original DP

_____ 





[Non-text portions of this message have been removed]

Reply via email to