Difference between revisions of "Osiris/API/CharacterTransformFromCharacter"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''CharacterTransformFromCharacter'''(''(CHARACTERGUID)'''''_target''', ''(CHARACTERGUID)'''''_source''', ''(INTEGER)'''''_replaceScripts...")
 
(Full Definition(s))
 
Line 1: Line 1:
 
===== Full Definition(s) =====
 
===== Full Definition(s) =====
* call '''CharacterTransformFromCharacter'''(''(CHARACTERGUID)'''''_target''', ''(CHARACTERGUID)'''''_source''', ''(INTEGER)'''''_replaceScripts'''
+
* call '''CharacterTransformFromCharacter'''(''(CHARACTERGUID)'''''_target''', ''(CHARACTERGUID)'''''_source''', ''(INTEGER)'''''_replaceScripts''', ''(INTEGER)'''''_replaceScale''', ''(INTEGER)'''''_replaceStats''', ''(INTEGER)'''''_replaceEquipment''', ''(INTEGER)'''''_replaceSkills''', ''(INTEGER)'''''_useCustomLooks''', ''(INTEGER)'''''_releasePlayerData''')
, ''(INTEGER)'''''_replaceScale''', ''(INTEGER)'''''_replaceStats''', ''(INTEGER)'''''_replaceEquipment'''
+
 
, ''(INTEGER)'''''_replaceSkills''', ''(INTEGER)'''''_useCustomLooks''', ''(INTEGER)'''''_releasePlayerData''')
 
 
===== Description =====
 
===== Description =====
 
Transforms a character taking another one as a source of transformation.
 
Transforms a character taking another one as a source of transformation.

Latest revision as of 10:50, 28 August 2018

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