Osiris/API/CharacterMakePlayer

From Divinity Engine Wiki
Revision as of 17:16, 19 December 2017 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterMakePlayer((CHARACTERGUID)_TargetCharacter, (CHARACTERGUID)_OwnerCharacter)
Description

Turns NPC _TargetCharacter into a player-controlled character. The character will be assigned to the same user as the one controlling _OwnerCharacter, and will appear in the portrait list after _OwnerCharacter.

If _OwnerCharacter is NULL_00000000-0000-0000-0000-000000000000, the character will be assigned to the host user (and hence this function will behave identical to CharacterRecruitCharacter).

Notes
  • /
See Also