[DGD] Command Finders
Josh Dady
jpd at indecisive.com
Tue May 10 16:58:01 CEST 2005
On May 10, 2005, at 2:53 AM, Noah Gibbs wrote:
>
> The way you'll want to do this_player() is to have a variable
> somewhere that
> gets set appropriately and queried with a function (maybe called
> "this_player")
> in your AUTO object.
Er, almost. :) If you want your lib to also work under DGD/MP, you
instead want to use a TLS slot to store the value this_player()
returns; if you stored it in a regular variable, there could only be
a single player-connected thread active at a time, which would defeat
the purpose of DGD/MP.
P.S.: Bah, too many accounts in my account pop-up!
--
Joshua P. Dady
http://www.indecisive.com/
More information about the DGD
mailing list