Osiris/API/CharacterApplyHenchmanPreset: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* query '''CharacterApplyHenchmanPreset'''('''''[in]'''(CHARACTERGUID)'''''_Character''''','' '''''[in]'''(STRING)'''''_Preset''')
* query '''CharacterApplyHenchmanPreset'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Preset''')
===== Description =====
===== Description =====
Applies the specified <u>HENCHMAN</u> '''_Preset''' to '''_Character''', overriding any abilities, attributes, skills, or talents preset on the character.
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/"'''
* Presets can be customized according to the following [[documentation]]
* 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 '''CharacterMakePlayer''' before you can apply a henchman preset
===== 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 15: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
See Also