Hi Gorodoff,

Comments below,

Cheers,
Brent.

*********** REPLY SEPARATOR ***********

On 2/12/2005 at 5:50 PM Gorodoff wrote:
>Hello all,
>
>Playing around with GlobalKeyCommand and TriggerKey, I discovered 2 
>things:
>
>1)On a piece, if a globalkey is not assigned a menu text, to hide it 
>from the rigthclick menu, I get "An untrapped error has occured. 
>ArrayIndexOutOfBoundsException 0".


Thanks, this is a bug. I have passed a fix onto Rodney.


>2)On a piece, I have a movefixeddist trait trigged by alt c, followed 
>by 2 GKC traits that modify graphics on the board (needed because 2 
>different range needed), both triggered by alt b
>The repeated sequence of keys (alt c, alt b) works just fine.
>
>So I decide to use a triggerkey with no menu nor shortcut, just to 
>watch for alt c and trigger alt b automatically
>
>It doesn't work fine because alt b seems to be triggered from the 
>starting position, not the moved to position (old location versus new 
>location)
>
>It is the same if I change traits place in the piece definition
>same with a trigger triggering both alt c and alt b technics
>same if I change the order of shortcuts on the 'to be trigger' 
>definition
>same if I use a trigger to fire alt c, followed by a 'nested' 2nd 
>trigger watching alt c and firing alt b
>
>Is there a way to turn this around?


Rodney had actually just changed this. Can you try the latest version of VASSAL 
(2.4.2) and see if this fixes this problem for you?



>Regards,
>Gorodoff

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



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~-> 

 
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