Page 1 of 1

GetObjectMemberNames

Posted: Thu Feb 26, 2009 6:25 pm
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.

Re: GetObjectMemberNames

Posted: Tue Mar 31, 2009 11:13 pm
by Yukiko
This sounds very useful.