Difference between revisions of "ClearCreatureProperties"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, removing tag)
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=ClearCreatureProperties
 
|name=ClearCreatureProperties
Line 14: Line 13:
 
== 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. -->
 +
 
Health will be set to 1. All other properties will be set to 0.
 
Health will be set to 1. All other properties will be set to 0.
This function will NOT generate any events due to the properties changing.
+
 
It is a hard coded function meant to be used when creating a character.
+
This function will NOT generate any events due to the properties changing. It is a hard coded function meant to be used when creating a character.
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 17:33, 1 March 2010

Clears all the properties on a creature

void ClearCreatureProperties(
object oCreature
);
Parameters:
oCreature
the creature whose properties will be cleared
Returns:

Nothing.

Source:

script.ldf

Description

Health will be set to 1. All other properties will be set to 0.

This function will NOT generate any events due to the properties changing. It is a hard coded function meant to be used when creating a character.