Osiris/API/CharacterMakePlayer: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| mNo edit summary | mNo edit summary | ||
| Line 3: | Line 3: | ||
| ===== Description ===== | ===== 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'''. | 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. | |||
| ===== Notes ===== | ===== Notes ===== | ||
| * / | * / | ||
Revision as of 13:30, 13 August 2017
Full Definition(s)
- call CharacterMakePlayer([in](CHARACTERGUID)_TargetCharacter,[in](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.
Notes
- /