Difference between revisions of "CREATURE TYPE *"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(created, with information about inconsistency discovered by Sunjammer)
 
m (Split table, tidied up)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{constant table start}}
+
{{constant table start|sourcemodule=|sourcefile=script.ldf}}
{{constant table row|CREATURE_TYPE_COMBATANT|int|0|returned by [[GetCombatantType]]|sourcefile=script.ldf}}
+
{{constant table row|CREATURE_TYPE_COMBATANT    |int|0||sourcemodule=|sourcefile=script.ldf}}
{{constant table row|CREATURE_TYPE_NON_COMBATANT|int|1|returned by [[GetCombatantType]]|sourcefile=script.ldf}}
+
{{constant table row|CREATURE_TYPE_NON_COMBATANT|int|1||sourcemodule=|sourcefile=script.ldf}}
{{constant table row|CREATURE_TYPE_INVALID|int|0|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_OTHER|int|1|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_HUMANOID|int|2|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_DARKSPAWN|int|3|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_ANIMAL|int|4|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_BEAST|int|5|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_DEMON|int|6|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_DRAGON|int|7|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_AMBIENT|int|8|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_GOLEM|int|9|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
{{constant table row|CREATURE_TYPE_UNDEAD|int|10|NOTE: use the race constants defined by [[RACE*]] instead of this|sourcefile=2da_constants_h}}
+
 
{{constant_table_end}}
 
{{constant_table_end}}
 +
 +
{{constant table start|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_INVALID  |int| 0|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_OTHER    |int| 1|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_HUMANOID |int| 2|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_DARKSPAWN|int| 3|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_ANIMAL  |int| 4|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_BEAST    |int| 5|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_DEMON    |int| 6|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_DRAGON  |int| 7|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_AMBIENT  |int| 8|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_GOLEM    |int| 9|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant table row|CREATURE_TYPE_UNDEAD  |int|10|Deprecated|sourcemodule=Core Game Resources|sourcefile=2da_constants_h}}
 +
{{constant_table_end}}
 +
== Remarks ==
 +
<!-- This section contains additional comments, observations and known issues. -->
 +
The [[CREATURE_TYPE_*]] constants from [[2da_constants_h]] appear to have been deprecated. Use the [[RACE_*]] constants instead.
 +
<!--
 +
== Examples == -->
 +
<!-- This section contains examples transcluded from the snippet library. -->
 +
== See also ==
 +
<!-- This section contains links to articles, functions or constant groups. -->
 +
* [[GetCombatantType]]
  
 
[[Category:Constants]]
 
[[Category:Constants]]

Latest revision as of 13:18, 3 August 2011

Source: script.ldf
Constant name Type Value Description Source
CREATURE_TYPE_COMBATANT int 0 script.ldf
CREATURE_TYPE_NON_COMBATANT int 1 script.ldf
Source: Core Game Resources.2da_constants_h
Constant name Type Value Description Source
CREATURE_TYPE_INVALID int 0 Deprecated 2da_constants_h
CREATURE_TYPE_OTHER int 1 Deprecated 2da_constants_h
CREATURE_TYPE_HUMANOID int 2 Deprecated 2da_constants_h
CREATURE_TYPE_DARKSPAWN int 3 Deprecated 2da_constants_h
CREATURE_TYPE_ANIMAL int 4 Deprecated 2da_constants_h
CREATURE_TYPE_BEAST int 5 Deprecated 2da_constants_h
CREATURE_TYPE_DEMON int 6 Deprecated 2da_constants_h
CREATURE_TYPE_DRAGON int 7 Deprecated 2da_constants_h
CREATURE_TYPE_AMBIENT int 8 Deprecated 2da_constants_h
CREATURE_TYPE_GOLEM int 9 Deprecated 2da_constants_h
CREATURE_TYPE_UNDEAD int 10 Deprecated 2da_constants_h

Remarks

The CREATURE_TYPE_* constants from 2da_constants_h appear to have been deprecated. Use the RACE_* constants instead.

See also