Osiris/API/CharacterApplyPreset: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
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 can only be applied to player characters.
* 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]].
* This function can be used to apply both [[ClassPresets|class presets]] and [[CompanionPresets|companion presets]].
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterApplyHenchmanPreset|CharacterApplyHenchmanPreset]]
* [[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