Osiris/API/CharacterMakePlayer: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
* call '''CharacterMakePlayer'''(''(CHARACTERGUID)'''''_TargetCharacter''',''(CHARACTERGUID)'''''_OwnerCharacter''')
* call '''CharacterMakePlayer'''(''(CHARACTERGUID)'''''_TargetCharacter''',''(CHARACTERGUID)'''''_OwnerCharacter''')
===== Description =====
===== Description =====
Turns NPC '''_TargetCharacter''' into a player-controlled character. It will be assigned to the same user as the one controlling '''_OwnerCharacter''', and will appear in the portrait list after '''_OwnerCharacter'''.
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'''.
===== Notes =====
===== Notes =====
* /
* /

Revision as of 10:49, 13 August 2017

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.

Notes
  • /
See Also