GetObjectMemberNames

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

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

GetObjectMemberNames

Post by Tomi »

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: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: GetObjectMemberNames

Post by Yukiko »

This sounds very useful.
Locked