PDA

View Full Version : UIEntities


Delve
07-04-2008, 07:23 PM
Can anyone list the valid UIEntity names? The only ones I've found are
EnemyCovenant
PlayerClient
SelectedRecruit
Selected
PartyMember

And, other than PartyMember, which ones reference an array of entities?

Shadow
07-04-2008, 08:27 PM
Here's all of them:

PlayerServer
PlayerClient
Selected
SelectedRecruit
PartyMember
PlayerCovenant
PlayerCovenantServer
EnemyCovenant
SortedCovenantByPower

Delve
07-05-2008, 09:20 AM
Great, thanks.

Delve
07-05-2008, 10:17 AM
None of those look like they give me access to the stats on all covenant recruits. Is there a way to do that?

I can sort of use PartyMember by entityindex, but that only works for the recruits following you around as part of your party. And even then it only partially works.
The StatValue widget doesn't handle entityindex like I expect. It works fine for
entityType SelectedRecruit

but using this just gives me 0s. I can get the stat name, but not the value.
entityType PartyMember
entityIndex 0

What I'm trying to do is create an infobox of key recruit stats (level, str, and dex) to make it easier to judge at a glance whether they can use an item. I can't find where the item description popups are defined (possibly code?) so I've settled on pushing the menu as part of the bagcontrol menus, which should make it available anytime it's needed.

Shadow
07-07-2008, 01:55 PM
You are correct. The only one that allows an index for entities is PartyMember and StatValue wasn't built to reference stats from the party members.