Difference between revisions of "Osiris/API/CharacterIsPartyFollower"
From Divinity Engine Wiki
(Osiris Core APIs) |
m |
||
Line 7: | Line 7: | ||
* '''_Bool''': '''1''' if '''_Character''' is a party follower, '''0''' if not'''.''' | * '''_Bool''': '''1''' if '''_Character''' is a party follower, '''0''' if not'''.''' | ||
===== Notes ===== | ===== Notes ===== | ||
− | * | + | * [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]] will also return true for party followers. |
===== See Also ===== | ===== See Also ===== | ||
− | * [[Osiris/API/CharacterIsPlayer]] | + | * [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]] |
− | * [[Osiris/API/CharacterFollowCharacter]] | + | * [[Osiris/API/CharacterFollowCharacter|CharacterIsPlayer]] |
[[Category:Osiris Queries]] | [[Category:Osiris Queries]] |
Revision as of 21:44, 25 August 2017
Full Definition(s)
- query CharacterIsPartyFollower([in](CHARACTERGUID)_Character, [out](INTEGER)_Bool)
Description
Returns whether _Character is a character that follows a player character around. An NPC can be instructed to do so through CharacterFollowCharacter.
Return Values
- Success/Failure: Fails if _Character does not exist.
- _Bool: 1 if _Character is a party follower, 0 if not.
Notes
- CharacterIsPlayer will also return true for party followers.