Difference between revisions of "Scripting relation types"

From Divinity Engine Wiki
Jump to: navigation, search
m (Protected "Scripting relation 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 relation types can be used in behavior scripts:
+
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 relation types can be used in behavior scripts:
 +
<ol start=0>
 
<li>Unknown</li>
 
<li>Unknown</li>
 
<li>Ally</li>
 
<li>Ally</li>
Line 10: Line 11:
 
<li>PlayersNoSummon</li>
 
<li>PlayersNoSummon</li>
 
<li>All</li>
 
<li>All</li>
</ul>
+
</ol>

Latest revision as of 09:04, 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 relation types can be used in behavior scripts:

  1. Unknown
  2. Ally
  3. Enemy
  4. Neutral
  5. Player
  6. Multiplayer
  7. Party
  8. PlayersNoSummon
  9. All