<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3AGetWarbandMemberStatus</id>
	<title>API:GetWarbandMemberStatus - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3AGetWarbandMemberStatus"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:GetWarbandMemberStatus&amp;action=history"/>
	<updated>2026-10-17T22:07:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.returnofreckoning.com/index.php?title=API:GetWarbandMemberStatus&amp;diff=30486&amp;oldid=prev</id>
		<title>Maintenance script: UI Lua API import (WAR 1.4.8)</title>
		<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:GetWarbandMemberStatus&amp;diff=30486&amp;oldid=prev"/>
		<updated>2026-10-16T19:45:20Z</updated>

		<summary type="html">&lt;p&gt;UI Lua API import (WAR 1.4.8)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LuaApi|group=Group}}&lt;br /&gt;
Returns the frequently changing status values of one warband member.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
status = GetWarbandMemberStatus(partyIndex, memberIndex)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;partyIndex : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Warband party, 1 to 4. Only the low 8 bits are used.&lt;br /&gt;
;memberIndex : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Member within that party, starting at 1. Only the low 8 bits are used.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;status : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – Status table (see below), or nothing if an index is out of range or there is no player object.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;healthPercent&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Health, 0–100.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;actionPointPercent&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Action points, 0–100.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;moraleLevel&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Morale rank, 0–4, derived from the member&amp;#039;s morale percentage.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;level&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Character level.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;battleLevel&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Battle (bolstered) level. Equal to &amp;lt;code&amp;gt;level&amp;lt;/code&amp;gt; when the stored battle level is 0.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;isRVRFlagged&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; || –&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;zoneNum&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Zone id.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;online&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; || –&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;isDistant&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; || –&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;worldObjNum&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || World object number of the member.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The fields match those of [[API:GetGroupMemberStatusData|GetGroupMemberStatusData]], without the pet&amp;#039;s health.&lt;br /&gt;
* &amp;lt;code&amp;gt;memberIndex&amp;lt;/code&amp;gt; must be lower than or equal to the number of members the client has for that party.&lt;br /&gt;
* The stock UI calls this function only after [[API:GetAndClearWarbandMemberDirtyFlag|GetAndClearWarbandMemberDirtyFlag]] returned &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; for the same member, and copies the values into its cached [[API:GetBattlegroupMemberData|GetBattlegroupMemberData]] table.&lt;br /&gt;
* The function needs at least two arguments and only reads the last two.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None besides the generic &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; message when an argument is not a number.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;default/easystem_utils/source/partyutils.lua&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;PartyUtils.GetWarbandMember&amp;lt;/code&amp;gt;, shortened):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local member = party.players[memberIndex]&lt;br /&gt;
&lt;br /&gt;
if( GetAndClearWarbandMemberDirtyFlag( partyIndex, memberIndex ) )&lt;br /&gt;
then&lt;br /&gt;
    local memberData = GetWarbandMemberStatus( partyIndex, memberIndex )&lt;br /&gt;
    member.healthPercent = memberData.healthPercent&lt;br /&gt;
    member.actionPointPercent = memberData.actionPointPercent&lt;br /&gt;
    member.moraleLevel = memberData.moraleLevel&lt;br /&gt;
    ...&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:GetBattlegroupMemberData|GetBattlegroupMemberData]]&lt;br /&gt;
* [[API:GetAndClearWarbandMemberDirtyFlag|GetAndClearWarbandMemberDirtyFlag]]&lt;br /&gt;
* [[API:GetGroupMemberStatusData|GetGroupMemberStatusData]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>