<?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%3AGetBolsterBuddy</id>
	<title>API:GetBolsterBuddy - 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%3AGetBolsterBuddy"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:GetBolsterBuddy&amp;action=history"/>
	<updated>2026-10-17T13:09:44Z</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:GetBolsterBuddy&amp;diff=30346&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:GetBolsterBuddy&amp;diff=30346&amp;oldid=prev"/>
		<updated>2026-10-16T19:43:06Z</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 name of the player&amp;#039;s bolster partner, or nothing if there is none.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name = GetBolsterBuddy()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;name : &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; – Character name of the bolster partner. Nothing if the player has no partner or the name cannot be found.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The client keeps the partner as a world object reference and looks the name up among the group or warband members. If the partner is not found there, the function returns nothing.&lt;br /&gt;
* The stock UI uses the result both as a yes/no test (&amp;lt;code&amp;gt;if GetBolsterBuddy() then&amp;lt;/code&amp;gt;) and to compare against a member&amp;#039;s name.&lt;br /&gt;
* Arguments are not read.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None.&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.GetBolsterMenuText&amp;lt;/code&amp;gt;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local bolsterBuddy = GetBolsterBuddy()&lt;br /&gt;
if( bolsterBuddy ~= nil and bolsterBuddy == name )&lt;br /&gt;
then&lt;br /&gt;
    bolsterText = GetString( StringTables.Default.LABEL_END_APPRENTICESHIP )&lt;br /&gt;
    bolsterCallback = PartyUtils.BolsterCancel&lt;br /&gt;
elseif( bolsterBuddy == nil )&lt;br /&gt;
then&lt;br /&gt;
    bolsterText = GetString( StringTables.Default.LABEL_MAKE_APPRENTICE )&lt;br /&gt;
    bolsterCallback = PartyUtils.BolsterOffer&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:GetGroupData|GetGroupData]]&lt;br /&gt;
* [[API:GetBattlegroupMemberData|GetBattlegroupMemberData]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>