Difference between revisions of "Osiris/API/CharacterApplyHenchmanPreset"
From Divinity Engine Wiki
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * query '''CharacterApplyHenchmanPreset'''( | + | * query '''CharacterApplyHenchmanPreset'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Preset''') |
===== Description ===== | ===== Description ===== | ||
− | Applies the | + | Applies the [[HenchmenPresets|henchman preset]] '''_Preset''' to '''_Character''', overriding any abilities, attributes, skills, or talents preset on the character. |
===== Return Values ===== | ===== Return Values ===== | ||
* / | * / | ||
===== Notes ===== | ===== Notes ===== | ||
* Presets come from the folder '''".../DOS2/Data/Mods/Shared/CharacterCreation/HenchmanPresets/"''' | * Presets come from the folder '''".../DOS2/Data/Mods/Shared/CharacterCreation/HenchmanPresets/"''' | ||
− | + | * A character must first be turned into a player using [[Osiris/API/CharacterMakePlayer|CharacterMakePlayer]] before you can apply a henchman preset | |
− | * A character must first be turned into a player using | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/CharacterApplyRacePreset|CharacterApplyRacePreset]] | ||
* [[Osiris/API/CharacterGetHenchmanPresetPrice|CharacterGetHenchmanPresetPrice]] | * [[Osiris/API/CharacterGetHenchmanPresetPrice|CharacterGetHenchmanPresetPrice]] | ||
− | [[Category:Osiris Calls]] | + | [[Category:Osiris Calls|CharacterApplyHenchmanPreset]] |
Latest revision as of 16:11, 19 December 2017
Full Definition(s)
- query CharacterApplyHenchmanPreset((CHARACTERGUID)_Character, (STRING)_Preset)
Description
Applies the henchman preset _Preset to _Character, overriding any abilities, attributes, skills, or talents preset on the character.
Return Values
- /
Notes
- Presets come from the folder ".../DOS2/Data/Mods/Shared/CharacterCreation/HenchmanPresets/"
- A character must first be turned into a player using CharacterMakePlayer before you can apply a henchman preset