Difference between revisions of "Osiris/API/CharacterSetArmorPercentage"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented CharacterSetArmorPercentage and the related NO_ARMOR_REGEN tag)
 
m
 
Line 6: Line 6:
 
* By default, when a character leaves combat its physical and magical armour will regenerate to 100%. You can prevent this by [[Osiris/API/SetTag|setting the tag]] '''''NO_ARMOR_REGEN''''' on a character.
 
* By default, when a character leaves combat its physical and magical armour will regenerate to 100%. You can prevent this by [[Osiris/API/SetTag|setting the tag]] '''''NO_ARMOR_REGEN''''' on a character.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/CharacterSetForceUpdate|CharacterSetForceUpdate]]  
+
* [[Osiris/API/CharacterGetArmorPercentage|CharacterGetArmorPercentage]]
* [[Osiris/API/ItemSetForceSynch|ItemSetForceSynch]]
+
* [[Osiris/API/CharacterGetMagicArmorPercentage|CharacterGetMagicArmorPercentage]]
 +
* [[Osiris/API/CharacterSetMagicArmorPercentage|CharacterSetMagicArmorPercentage]]
  
 
[[Category:Osiris Calls|CharacterSetArmorPercentage]]
 
[[Category:Osiris Calls|CharacterSetArmorPercentage]]

Latest revision as of 12:26, 20 December 2017

Full Definition(s)
  • call CharacterSetArmorPercentage((CHARACTERGUID)_Character, (INTEGER)_Percentage)
Description

Sets the physical armour percentage of _Character to _Percentage.

Notes
  • By default, when a character leaves combat its physical and magical armour will regenerate to 100%. You can prevent this by setting the tag NO_ARMOR_REGEN on a character.
See Also