Page 1 of 4

Enumerating Objects

Posted: Wed Jul 06, 2005 11:45 pm
by logicallyrogue
Okay - ISXEQ is working (yea!) and I'm trying some simple stuff in the HUD console. When I say simple, I'm talking:

echo ${Target.Name}

Anyways - is there a way to enumerate the objects on target? I was looking in the ISXEQ Wiki (pretty sparse, I'll have to post some things as I figure them out) and was able to figure out top-level objects (Me, Target, Spawn, etc) - but there is no information on any values/objects attached to that TLO...

Anyone have either a map to these structures, or know how to enumerate them? Thanks!

Posted: Thu Jul 07, 2005 12:05 am
by logicallyrogue
Hmmmm.... maybe Lax already answered my question in his "Datatypes" post...

Me.Buff[1]:Remove

That gives me a start on how to access specific elements of the Me.Buff array... But I still don't know what objects are part of the Buff datatype. I'm assuming Name, and possibly Timer... but enumerating that would be great for writing some code...

Posted: Thu Jul 07, 2005 12:09 am
by Lax
They are the same as MQ2, using exactly the same code (99% of ISXEQ is like that. All objects included). Check the MQ2 manual and/or wiki. However, you can type "LSType <datatype>" in the console (or /LSType <datatype> in a chat window) to list the members.

Methods (like :Remove) should be listed in the wiki, but you can find them by looking in MQ2DataTypes.h and looking at each type i nthe source code

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:27 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:28 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:29 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:30 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:32 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:33 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:34 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:35 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:36 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:37 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:38 pm
by xyilla

Re: Enumerating Objects

Posted: Fri May 30, 2025 6:40 pm
by xyilla