Difference between revisions of "SetCombatState"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks fine. Also reword a warning about the use of this function to not be Georg-specific)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetCombatState
 
|name=SetCombatState
Line 17: Line 16:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
(core function)
+
 
This function sets the Combat State on a creature.  
+
This function sets the Combat State on a creature. It is a very low-level function, you should use other library functions to set creature states wherever possible.
** If you are not Georg and you are using this function, you're in trouble!**
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 23:16, 11 February 2010

This function sets the Combat State on a creature

void SetCombatState(
object oCreature,
int nCombatState
);
Parameters:
oCreature
the creature whose combat state we are setting
nCombatState
the combat state (TRUE or FALSE)
Returns:

Nothing.

Source:

script.ldf

Description

This function sets the Combat State on a creature. It is a very low-level function, you should use other library functions to set creature states wherever possible.


See also

GetCombatState