Difference between revisions of "Osiris/API/CharacterIsPartyFollower"
From Divinity Engine Wiki
m |
(Fixed CharacterFollowCharacter/CharacterAddToPlayerCharacter mixup) |
||
Line 2: | Line 2: | ||
* query '''CharacterIsPartyFollower'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[out]'''''(INTEGER)'''_Bool''') | * query '''CharacterIsPartyFollower'''('''''[in]'''(CHARACTERGUID)'''''_Character''', '''''[out]'''''(INTEGER)'''_Bool''') | ||
===== Description ===== | ===== Description ===== | ||
− | Returns whether '''_Character''' is a | + | Returns whether '''_Character''' is a [[Osiris/API/CharacterAddToPlayerCharacter|party follower]]. |
===== Return Values ===== | ===== Return Values ===== | ||
* '''Success/Failure''': Fails if '''_Character''' does not exist'''.''' | * '''Success/Failure''': Fails if '''_Character''' does not exist'''.''' | ||
Line 8: | Line 8: | ||
===== Notes ===== | ===== Notes ===== | ||
* [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]] will also return true for party followers. | * [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]] will also return true for party followers. | ||
+ | * This query is unrelated to "regular followers" created via [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]] and will return false for such followers (unless they are also party followers, but there is no point in doing so since party followers will automatically follow their recruiter character). | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/CharacterAddToPlayerCharacter|CharacterAddToPlayerCharacter]] | ||
* [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]] | * [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]] | ||
− | * [[Osiris/API/ | + | * [[Osiris/API/CharacterIsSummon|CharacterIsSummon]] |
[[Category:Osiris Queries]] | [[Category:Osiris Queries]] |
Revision as of 21:16, 28 November 2017
Full Definition(s)
- query CharacterIsPartyFollower([in](CHARACTERGUID)_Character, [out](INTEGER)_Bool)
Description
Returns whether _Character is a party follower.
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.
- This query is unrelated to "regular followers" created via CharacterFollowCharacter and will return false for such followers (unless they are also party followers, but there is no point in doing so since party followers will automatically follow their recruiter character).