Osiris/API/CharacterReservedUserIDChanged

From Divinity Engine Wiki
Revision as of 14:17, 28 November 2017 by Tinkerer (talk | contribs)
Jump to: navigation, search
Full Definition(s)
  • event CharacterReservedUserIDChanged((CHARACTERGUID)_Character, (INTEGER)_UserID)
Description

Thrown when a character gets assigned to a user, or when a character no longer is assigned to any user.

Parameters
  • _Character: The character that was (re-)assigned.
  • _UserID: The id of the user to which which the character was assigned.
Notes
  • When a character is no longer assigned to any user, i.e. if it was a player character and was then made an CharacterMakeNPC, _UserID will be the reserved value -65536.
  • A character can either be explicitly assigned to a user from story, or by the game engine when a new user connects to a game. In both cases, this event gets thrown.
See Also