Difference between revisions of "Scripting compare functions"
From Divinity Engine Wiki
(Created page with "The following compare functions can be used in script: <ul> <li>Distance</li> <li>Level</li> <li>Vitality</li> <li>VitalityPoints</li> <li>Magic</li> <li>MagicPoints</li> <li>...") |
|||
(2 intermediate revisions by 2 users 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 /> |
− | < | + | 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> | ||
− | </ | + | </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:
- Distance
- Level
- Vitality
- VitalityPoints
- Magic
- MagicPoints
- ActionPoints
- APMaximum
- APStart
- APRecovery
- Experience
- Reputation
- Karma
- Strength
- Finesse
- Intelligence
- Constitution
- Memory
- Wits
- TrapWits
- Movement
- FireResistance
- EarthResistance
- WaterResistance
- AirResistance
- PoisonResistance
- PiercingResistance
- PhysicalResistance
- CorrosiveResistance
- MagicResistance
- ShadowResistance
- Sight
- Hearing
- Initiative
- Armor
- ArmorPoints
- GoldValue