Difference between revisions of "Osiris/API/CharacterAddToPlayerCharacter"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
* [[Osiris/API/CharacterAddToParty|CharacterAddToParty]]
 
* [[Osiris/API/CharacterAddToParty|CharacterAddToParty]]
 
* [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]]
 
* [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]]
 +
* [[Osiris/API/CharacterGetOwner|CharacterGetOwner]]
 
* [[Osiris/API/CharacterIsPartyFollower|CharacterIsPartyFollower]]
 
* [[Osiris/API/CharacterIsPartyFollower|CharacterIsPartyFollower]]
 
* [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]]
 
* [[Osiris/API/CharacterIsPlayer|CharacterIsPlayer]]
 +
* [[Osiris/API/CharacterRemoveFromPlayerCharacter|CharacterRemoveFromPlayerCharacter]]
  
 
[[Category:Osiris Calls|CharacterAddToPlayerCharacter]]
 
[[Category:Osiris Calls|CharacterAddToPlayerCharacter]]

Latest revision as of 21:18, 28 February 2018

Full Definition(s)
  • call CharacterAddToPlayerCharacter((CHARACTERGUID)_Character, (CHARACTERGUID)_Owner)
Description

Turns _Character into a party follower of player-controlled character _Character.

A party follower of a player character can be identified by the fact that a small version of their icon becomes attached to the bottom right of the icon of the player they follow in the top left of the screen. The controlling player can select the party follower, move them around and fight with them, but not perform other interactions such as using items or participating in dialogs. In that sense, they are very similar to summons.

Notes
  • This call fails if either _Character or _Owner is NULL, or if _Owner is not in a party.
  • As long as _Character is a party follower of a player character, CharacterIsPlayer will return 1 for this character.
See Also