Difference between revisions of "Scripting weapon types"

From Divinity Engine Wiki
Jump to: navigation, search
m (Protected "Scripting weapon types" ([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 weapon types 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 weapon types can be used in script:
 +
<ol start=0>
 
<li>None</li>
 
<li>None</li>
 
<li>Sword</li>
 
<li>Sword</li>
Line 12: Line 13:
 
<li>Wand</li>
 
<li>Wand</li>
 
<li>Arrow</li>
 
<li>Arrow</li>
</ul>
+
</ol>

Latest revision as of 09:15, 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 weapon types can be used in script:

  1. None
  2. Sword
  3. Club
  4. Axe
  5. Staff
  6. Bow
  7. Crossbow
  8. Spear
  9. Knife
  10. Wand
  11. Arrow