Difference between revisions of "Osiris/API/CharacterApplyPreset"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
m
 
(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 16: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