Difference between revisions of "Scripting compare functions"

From Divinity Engine Wiki
Jump to: navigation, search
m (Protected "Scripting compare functions" ([Edit=⧼protect-level-larianeditonly⧽] (indefinite) [Move=⧼protect-level-larianeditonly⧽] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The following compare functions can be used in script:
+
This list is purely for values that can be used in script. More information on these values can be found [[Scripting#Variables|here]].<br />
<ul>
+
It is advised to use the enumeration value instead of the integer representation because this list is subject to change. The following compare functions can be used in script:
 +
<ol>
 
<li>Distance</li>
 
<li>Distance</li>
 
<li>Level</li>
 
<li>Level</li>
Line 38: Line 39:
 
<li>ArmorPoints</li>
 
<li>ArmorPoints</li>
 
<li>GoldValue</li>
 
<li>GoldValue</li>
</ul>
+
</ol>

Latest revision as of 08:27, 4 April 2018

This list is purely for values that can be used in script. More information on these values can be found here.
It is advised to use the enumeration value instead of the integer representation because this list is subject to change. The following compare functions can be used in script:

  1. Distance
  2. Level
  3. Vitality
  4. VitalityPoints
  5. Magic
  6. MagicPoints
  7. ActionPoints
  8. APMaximum
  9. APStart
  10. APRecovery
  11. Experience
  12. Reputation
  13. Karma
  14. Strength
  15. Finesse
  16. Intelligence
  17. Constitution
  18. Memory
  19. Wits
  20. TrapWits
  21. Movement
  22. FireResistance
  23. EarthResistance
  24. WaterResistance
  25. AirResistance
  26. PoisonResistance
  27. PiercingResistance
  28. PhysicalResistance
  29. CorrosiveResistance
  30. MagicResistance
  31. ShadowResistance
  32. Sight
  33. Hearing
  34. Initiative
  35. Armor
  36. ArmorPoints
  37. GoldValue