[DGD] Inherited objects list

Lord Lerkista lordlerkista at gmx.net
Fri Oct 28 11:41:01 CEST 2005


Noah Gibbs wrote:

>  Oy.  This way requires modifying the DGD server, I assume, since this looks
>like DGD internals.
>
>  Phantasmal just tracks all this stuff in LPC, but you need an ObjectD to do
>that.
>  
>

I use 2.4.5 and i don't have any objectD jeje

I've another question, it's safe to remove all variables and use mappings??
For example:

int ac;
int weight;
string name;
string short;

ac = 10;
weight = 5;
name = "shield";
short = "a small wooden shield";

i want to do something like this:

mapping vars;

vars = ([ ]);

vars["ac"] = 10;
vars["weight"] = 5;
vars["name"] = "shield";
vars["short"] = "a small wooden shield";

I like this way because i can get a list of variables - values from any 
object
Any disadvantage of this method??



More information about the DGD mailing list