[messages] [Module Design] Re: global key command in player hand

irishwulf irishwulf at gmail.com
Tue Jan 31 08:52:04 MST 2012


"Tim M" wrote:
> 
> "JustaBill" wrote:
> > 
> > "Tim M" wrote:
> > > If I'm reading you correctly, you are saying "Type = X &&
> > > CurrentMap = MyMap" matches all X-components on MyMap, but "Type =
> > > X" by itself matches all X-components on the _current_ map.  I
> > > think most of us would expect the latter to match X-components on
> > > _all_ maps due to the obvious lack of any CurrentMap condition.
> > > 
> > > Am I getting this wrong?
> > > 
> > > 
> > 
> > 
> > Nope, you are reading it correctly as it applies to Global Key
> > Command piece traits. A Global Key Command elsewhere in the module
> > tree also default limits it's search to the the "container" it
> > resides in (i.e a toolbar GKC at Map level will search only within
> > that Map unless you specifically tell it differently , whereas a
> > toolbar GKC at the Module level will search everywhere because it
> > does not belong to any Map / Zone etc..).
> 


My own experimentation suggests that the GKC _piece trait_ by default
broadcasts to all pieces, even those on other maps, unless otherwise
constrained.  Is that not how it works?

-Seth

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=30294#p30294


More information about the messages mailing list