<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=Player.IsHuman_%28Civ5_API%29</id>
	<title>Player.IsHuman (Civ5 API) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=Player.IsHuman_%28Civ5_API%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Player.IsHuman_(Civ5_API)&amp;action=history"/>
	<updated>2026-04-19T13:59:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=Player.IsHuman_(Civ5_API)&amp;diff=12109&amp;oldid=prev</id>
		<title>DonQuich: Bot update</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=Player.IsHuman_(Civ5_API)&amp;diff=12109&amp;oldid=prev"/>
		<updated>2012-09-20T08:59:53Z</updated>

		<summary type="html">&lt;p&gt;Bot update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This function is a member of {{Type5|Player}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;int&amp;#039;&amp;#039;&amp;#039; Player:IsHuman&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returned Value&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:No description available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&amp;#039;&amp;#039;Redundant occurences have been removed.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ActionInfoPanel.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/ActionInfoPanel.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0242}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(otherPlayer:IsHuman() and otherPlayer:IsTurnActive()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CityBannerManager.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/CityBannerManager.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1077}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if player:IsHuman() then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploCorner.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/DiploCorner.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0331}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( iPlayer ~= g_iLocalPlayer and pPlayer ~= nil and pPlayer:IsHuman() and pPlayer:GetTeam() == g_iLocalTeam ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0350}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( iPlayer ~= g_iLocalPlayer and pPlayer ~= nil and pPlayer:IsHuman() ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploCurrentDeals.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/DiploCurrentDeals.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0096}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( pOtherPlayer:GetNickName() ~= &amp;quot;&amp;quot; and pOtherPlayer:IsHuman() ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploGlobalRelationships.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/DiploGlobalRelationships.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0060}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pOtherPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0160}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pThirdPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0194}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (pThirdPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0325}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (Players[ ePlayer ]:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/DiploList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0133}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( Players[ePlayer]:IsHuman() ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0308}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (pOtherPlayer:IsHuman() or pOtherTeam:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0345}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( pOtherPlayer:IsHuman() ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploRelationships.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/DiploRelationships.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0202}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if(pOtherPlayer:GetNickName() ~= &amp;quot;&amp;quot; and pOtherPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiscussionDialog.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/LeaderHead/DiscussionDialog.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0211}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (activePlayer:HasRecentIntrigueAbout(iPlayer) and not Players[iPlayer]:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|EndGameMenu.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/EndGameMenu.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0027}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (iActivePlayer ~= iNextPlayer and pPlayer:IsAlive() and pPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|MPList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/MPList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0086}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pPlayer:IsAlive() and pPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0105}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;local bIsHuman = pPlayer:IsHuman();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|NewTurn.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/NewTurn.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0017}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (not Players[iPlayerID]:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ResourceIconManager.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/ResourceIconManager.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0083}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( pPlayer ~= nil and pPlayer:IsHuman() ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ReturnCivilianPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/PopupsGeneric/ReturnCivilianPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0038}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;elseif (not pGiftedPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TradeLogic.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/TradeLogic.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|2773}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if( pLoopPlayer:IsHuman() ) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TutorialInclude_Expansion1.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/Tutorial/TutorialInclude_Expansion1.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0020}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (player ~= nil and player:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|UnitFlagManager.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/UnitFlagManager.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|1575}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;if (pPlayer:IsHuman()) then&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|IsHuman]]&lt;br /&gt;
[[Category:Civ5 Players API|IsHuman]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>