Difference between revisions of "GetAttackTarget"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetAttackTarget | |name=GetAttackTarget | ||
Line 23: | Line 22: | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
− | == See also == | + | <!-- == See also == --> |
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | + | ||
[[Category: Spells and combat functions]] | [[Category: Spells and combat functions]] |
Latest revision as of 19:48, 25 February 2010
This function gets the combat target of a creature
- Parameters:
- oCreature
- the creature whose combat target we are querying
- Returns:
- the id of the creature's target. Will be invalid if the creature has no target.
- Source:
- script.ldf
Description
This function gets the combat target of a creature. This target is set when using an attack or ability command and is cleared (to target invalid) when combat state is set to false.