Difference between revisions of "Osiris/API/CharacterRecruitCharacter"

From Divinity Engine Wiki
Jump to: navigation, search
m (See Also)
m
Line 1: Line 1:
 
===== Full Definition(s) =====
 
===== Full Definition(s) =====
* call '''CharacterRecruitCharacter'''(''(CHARACTERGUID)'''''_TargetCharacter''',''(CHARACTERGUID)'''''_OwnerCharacter''')
+
* call '''CharacterRecruitCharacter'''('''''[in]'''(CHARACTERGUID)'''''_TargetCharacter''','''''[in]'''(CHARACTERGUID)'''''_OwnerCharacter''')
 
===== Description =====
 
===== Description =====
 
Turns NPC '''_TargetCharacter''' into a player-controlled character. The character will be assigned to the user that hosts the game, and will appear in the portrait list after '''_OwnerCharacter'''.
 
Turns NPC '''_TargetCharacter''' into a player-controlled character. The character will be assigned to the user that hosts the game, and will appear in the portrait list after '''_OwnerCharacter'''.
Line 6: Line 6:
 
* /
 
* /
 
===== See Also =====
 
===== See Also =====
 +
* [[Osiris/API/CharacterAssignToUser|CharacterAssignToUser]]
 +
* [[Osiris/API/CharacterGetReservedUserID|CharacterGetReservedUserID]]
 
* [[Osiris/API/CharacterMakePlayer|CharacterMakePlayer]]
 
* [[Osiris/API/CharacterMakePlayer|CharacterMakePlayer]]
+
 
 
[[Category:Osiris Calls]]
 
[[Category:Osiris Calls]]

Revision as of 12:01, 13 August 2017

Full Definition(s)
  • call CharacterRecruitCharacter([in](CHARACTERGUID)_TargetCharacter,[in](CHARACTERGUID)_OwnerCharacter)
Description

Turns NPC _TargetCharacter into a player-controlled character. The character will be assigned to the user that hosts the game, and will appear in the portrait list after _OwnerCharacter.

Notes
  • /
See Also