Osiris/API/CharacterTransformFromCharacter

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • call CharacterTransformFromCharacter((CHARACTERGUID)_target, (CHARACTERGUID)_source, (INTEGER)_replaceScripts, (INTEGER)_replaceScale, (INTEGER)_replaceStats, (INTEGER)_replaceEquipment, (INTEGER)_replaceSkills, (INTEGER)_useCustomLooks, (INTEGER)_releasePlayerData)
Description

Transforms a character taking another one as a source of transformation.

Notes
  • _useCustomLooks: If it's not 0, the current look is preserved. Otherwise - changed to target.
  • _releasePlayerData: Resets custom player data