Archive of the older Feature Request Forum Posts

Moderator: POL Developer

POL Developer
Posts: 477
Joined: Tue Feb 21, 2006 5:08 pm


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.

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

Re: GetObjectMemberNames

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

This sounds very useful.