<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FCharacterCanSee</id>
	<title>Osiris/API/CharacterCanSee - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=Osiris%2FAPI%2FCharacterCanSee"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/CharacterCanSee&amp;action=history"/>
	<updated>2026-04-17T23:44:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://docs.larian.game/index.php?title=Osiris/API/CharacterCanSee&amp;diff=6501&amp;oldid=prev</id>
		<title>Tinkerer: Documented CharacterCanSee</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=Osiris/API/CharacterCanSee&amp;diff=6501&amp;oldid=prev"/>
		<updated>2019-01-22T21:19:35Z</updated>

		<summary type="html">&lt;p&gt;Documented CharacterCanSee&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Full Definition(s) =====&lt;br /&gt;
* query '''CharacterCanSee'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[in]'''(GUIDSTRING)'''''_Target''', '''''[out]'''''(INTEGER)'''_Bool''')&lt;br /&gt;
===== Description =====&lt;br /&gt;
Returns whether '''_Character''' can see '''_Target'''. This call takes sneaking into account. Additionally, if '''_Character''' is an NPC or a summon, and '''_Target''' is also a character, this query registers a temporary event generator for that pair to throw [[Osiris/API/CharacterSawCharacter|CharacterSawCharacter]] and [[Osiris/API/CharacterLostSightOfCharacter|CharacterLostSightOfCharacter]] events.&lt;br /&gt;
===== Return Values =====&lt;br /&gt;
* '''Success/Failure''': Fails if '''_Character''' is invalid, or if '''_Target''' is not in the current level.&lt;br /&gt;
* '''_Bool''': '''1''' if '''_Character''' can see '''_Target''', '''0''' if not.&lt;br /&gt;
===== Notes =====&lt;br /&gt;
* If '''_Character''' is an NPC or a summon, and '''_Target''' is a character, then calling this routine will create a temporary sight relation between these two. See [[Osiris/API/CharacterSawCharacter|CharacterSawCharacter]] for more information.&lt;br /&gt;
===== See Also =====&lt;br /&gt;
* [[Osiris/API/CharacterLostSightOfCharacter|CharacterLostSightOfCharacter]]&lt;br /&gt;
* [[Osiris/API/CharacterSawCharacter|CharacterSawCharacter]]&lt;br /&gt;
* [[Osiris/API/HasLineOfSight|HasLineOfSight]]&lt;br /&gt;
* Helper [[Osiris/Shared/DB_Sees|DB_Sees]]&lt;br /&gt;
 &lt;br /&gt;
[[Category:Osiris Queries|CharacterCanSee]]&lt;/div&gt;</summary>
		<author><name>Tinkerer</name></author>
	</entry>
</feed>