> 1) Is there some event in the base API for something like a "enters > zone" or "enters board". Basically when a player plays a card from > their hand (via drag and drop) I want the board into which the card > was placed to perform some action. I saw trigger action as a quality > for cards, but that seems to wait for a key combination rather than > triggering off the movement of a card. I know there must be some > event like this, because the messages that report in the main chat > seem to trigger off this, but I can't find a way to perform some > action on these events. > > > > Yes, can be done, try using a passive trigger - you don't always have to > have a key for triggers to work, a property filter such as CurrentZone = X > under the trait of the actual piece will work fine
I tried some of that, but the problem is that when a trigger action goes off, it seems to only apply the command to "the card". For instance, I created a score global variable, and I created a menu to modify it. I assigned that menu a command (ctrl+1) to activate it. I tried assigning a trigger command for when the card enters the map window that has the global property, and it performs the command, but somehow only in the context of the card, not the window. I know because I changed the command to "flip" instead, and that works. Also, I can type ctrl+1 myself in the window, and that works fine. > > 2) The game I am working on involves chips. Everyone should be able > to see how many chips the other players have, but they shouldn't be > allowed to manipulate them. Is there some way to allocate a section > of board so that pieces in it belong only to a specific player (or > side), but are still visible to all? > > Try using player hands instead of a map - although not ideal you can place > the restrictions you wish. You would still have to drag chips to the main > board This works fine for starting, but then I would need some way to remove the restriction once the chips are moved to the board, because then they become community chips. Is there someway I can change that on the fly? > 3) Another way I could handle the chips is to simply display the > amount of money that a player has. I have found Global Properties as > a way to store a number (such as chip count), but I haven't found any > decent way to display it to all players. I mean, I can have it > display a message everytime the chip count changes, but is there a way > to simply add something like a text box or label that displays a > Global Property, or some other value? > > Create a visible basic piece with layers and tie it into your global > property. Also property sheets and text labels can achieve this. > The visible basic piece with the Text Label works great, thanks. > 4) Lastly, for another game I was developing, I did use a Global > Property to store a player's score, since it was really only relevant > at the end of games. I also added buttons to a player's hand in order > to modify that score. However, when I tried to collect these buttons > into a Toolbar Menu....it didn't work. It seems there is a bug when > it comes to adding buttons to a Toolbar Menu for Player's Hand and > Private Windows. It worked fine on the main window, but I want to do > it for each player's hand. > > > > Have to have Rodney or Brent take a look at this issue - could be a bug > > > thanks in advance for any help ya'll can give me, > Bryan > > > > > > [Non-text portions of this message have been removed] > thanks, Bryan ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/
