Difference between revisions of "Osiris/API/CharacterApplyPreset"
From Divinity Engine Wiki
m |
|||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * query '''CharacterApplyPreset'''( | + | * query '''CharacterApplyPreset'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Preset''') |
===== Description ===== | ===== Description ===== | ||
− | Applies the | + | 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 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
- Presets can only be applied to player characters.
- This function can be used to apply both class presets and companion presets.