Osiris/API/CharacterApplyPreset: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Osiris Core APIs)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* query '''CharacterApplyPreset'''('''''[in]'''(CHARACTERGUID)'''''_Character''''','' '''''[in]'''(STRING)'''''_Preset''')
* query '''CharacterApplyPreset'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Preset''')
===== Description =====
===== Description =====
Applies the specified <u>COMPANION</u> '''_Preset''' to '''_Character'''
Applies the <u>COMPANION</u> preset '''_Preset''' to '''_Character'''
===== Return Values =====
===== Return Values =====
* '''/'''
* /
===== Notes =====
===== Notes =====
* Presets come from the folder '''".../DOS2/Data/Mods/Shared/CharacterCreation/CompanionPresets/"'''
* Presets can only be applied to [[Osiris/API/CharacterMakePlayer|player characters]].
* This function can be used to apply both [[ClassPresets|class presets]] and [[CompanionPresets|companion presets]].
===== See Also =====
===== See Also =====
* /
* [[Osiris/API/CharacterApplyHenchmanPreset|CharacterApplyHenchmanPreset]]
    
    
[[Category:Osiris Calls]]
[[Category:Osiris Calls|CharacterApplyPreset]]

Latest revision as of 15:12, 19 December 2017

Full Definition(s)
  • query CharacterApplyPreset((CHARACTERGUID)_Character, (STRING)_Preset)
Description

Applies the COMPANION preset _Preset to _Character

Return Values
  • /
Notes
See Also