Re: [Opentnl-general] Multiple Scope Objects
Brought to you by:
mark_frohnmayer,
s_alanet
From: Ben G. <be...@ga...> - 2004-12-14 04:21:45
|
Tess, In fact, we had this situation in Zap for the commander map. :) Basically what we do is when we're in commander map (if I remember correctly), we route control to a scoping method on the GameType, which iterates over the team-members and scopes things near them. Mark can speak to the details; but the code in the SF CVS should help you out in a more direct way. ;) Regards, Ben Garney Tess Snider wrote: >Have any of you attempted to use TNL in an environment with multiple >objects that need to be queried for scoping purposes? For example, if >you were making a top-down RTS, and any one of your units could >potentially uncover an enemy unit, how do you manage the scoping, in >that case? Do you make some kind of umbrella object, which does the >visibility checking for your whole army? Is there some other way to >handle this? > >Thanks! > >Tess > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Opentnl-general mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opentnl-general > > > > |