Osiris/API/CharacterAssignToUser

From Divinity Engine Wiki
Revision as of 11:55, 13 August 2017 by Tinkerer (talk | contribs) (CharacterAssignToUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterAssignToUser((INTEGER)_UserID,(CHARACTERGUID)_Character)
Description

Assigns control over the player-controlled character _Character to the user with ID _UserID.

Notes
  • UserIDs are volatile: they can change at any time, in particular when loading a saved game, or when someone disconnects and reconnects. Never store this value in a database. Only use it immediately after requesting it, within the same frame.
See Also