Difference between revisions of "Osiris/API/CharacterIsPlayer"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
Line 9: Line 9:
 
* Apart from avatars and recruited companions, ''player-controlled'' characters also include summons and followers.
 
* Apart from avatars and recruited companions, ''player-controlled'' characters also include summons and followers.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/CharacterIsPartyFollower]]
+
* [[Osiris/API/CharacterIsPartyFollower|CharacterIsPartyFollower]]
* [[Osiris/API/CharacterIsSummon]]
+
* [[Osiris/API/CharacterIsSummon|CharacterIsSummon]]
* [[Osiris/API/CharacterFollowCharacter]]
+
* [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]]
 
   
 
   
 
[[Category:Osiris Queries]]
 
[[Category:Osiris Queries]]

Revision as of 22:45, 25 August 2017

Full Definition(s)
  • query CharacterIsPlayer([in](CHARACTERGUID)_Character, [out](INTEGER)_Bool)
Description

Returns whether _Character is player-controlled.

Return Values
  • Success/Failure: Fails if _Character does not exist.
  • _Bool: 1 if _Character is player-controlled, 0 if not.
Notes
  • Apart from avatars and recruited companions, player-controlled characters also include summons and followers.
See Also