Difference between revisions of "Osiris/API/CharacterAddToParty"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented CharacterAddToParty)
 
m
Line 9: Line 9:
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/AddToParty|AddToParty]]
 
* [[Osiris/API/AddToParty|AddToParty]]
* [[Osiris/API/CharacterAddToCharacter|CharacterAddToCharacter]]
+
* [[Osiris/API/CharacterAddToPlayerCharacter|CharacterAddToPlayerCharacter]]
 
* [[Osiris/API/CharacterIsPartyMember|CharacterIsPartyMember]]
 
* [[Osiris/API/CharacterIsPartyMember|CharacterIsPartyMember]]
 
* [[Osiris/API/CharacterIsInPartyWith|CharacterIsInPartyWith]]
 
* [[Osiris/API/CharacterIsInPartyWith|CharacterIsInPartyWith]]

Revision as of 22:54, 28 November 2017

Full Definition(s)
  • call CharacterAddToParty((INTEGER)_Character, (INTEGER)_PartyCharacter)
Description

Adds the character _Character to _PartyCharacter's party.

Notes
  • This call will not do anything if _Character or _PartyCharacter is NULL, if _PartyCharacter is not in any party, or if _Character is already in another party.
  • _Character must be global.
  • The difference with CharacterRecruitCharacter is that this call does not turn _Character into a player character (although _Character can be a player character). In principle, the underlying routine supports adding individual totems, summons and plain NPCs to the party (as long as they are global, which makes it rather impractical for totems and summons).
See Also