Partymemberlist - MINIONBOTS/FFXIVMinion GitHub Wiki
Partymemberlist
This list holds all partymembers. Since the data of your partymembers is not available when they are not in your local map or in range, you can use this Partymemberlist to still aquire limited data about your party.
Alternative way to get all partymembers is by using the EntityList with the filter "myparty".
The Partymemberlist sits in the Index of the EntityList and can be directly accessed by:
localpartymemberlist=EntityList.mypartyif ( partymemberlist) thenlocali,entity=next(partymemberlist)
while (i~=nilandentity~=nil) do-- the 'd' command is a global command for printing out information into the consoled("EntityID : "..tostring(i).." Name : "..tostring(entity.name))
i,entity=next(partymemberlist,i)
endend
Attributes of the Partymemberlist entries
id
Returns EntityID "number".
mapid
Returns the MapID where this Entity currently is in "number".
name
Returns Entity name "string".
isleader
Returns if the Entity is the partyleader (boolean).
pos
Returns Entity position table. Beware, this data is returning wrong values when you are not in the same map! "number".
-- the 'd' command is a global command for printing out information into the consolelocalpostable=Player.posd(postable.x) -- x positiond(postable.y) -- y positiond(postable.z) -- z position