GetObjectMemberNames

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

Locked
Tomi
POL Developer
Posts: 475
Joined: Tue Feb 21, 2006 5:08 pm

GetObjectMemberNames

Post by Tomi » Thu Feb 26, 2009 6:25 pm

I would like to see a function GetObjectMemberNames( object ) or such, that should return either an array of the names of ALL members for that specific object ( item or npc or ... ), or then even better a dictionary with { member name, 0/1 ( readonly or readwrite ) }

There are already similar functions for GlobalProperties and ObjProperties, and I don't see any reason why this could not be added, should be very helpful when making character info based text commands and such so you don't have to make a list of all these by yourself and update that every single time there will be some new member added into core.

Yukiko
Distro Developer
Posts: 2586
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: GetObjectMemberNames

Post by Yukiko » Tue Mar 31, 2009 11:13 pm

This sounds very useful.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Locked