Difference between revisions of "CharGen ClearAbilityList"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
(removing {{Generated}} looks fine)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=CharGen_ClearAbilityList
 
|name=CharGen_ClearAbilityList
Line 19: Line 18:
 
== 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. -->
*** CHARACTER CREATION ONLY ***
+
'''This is for character creation only.'''
 +
 
 
Do not ever call outside of character generation, it will destroy a player's character.
 
Do not ever call outside of character generation, it will destroy a player's character.
 +
 
NOTE: item abilities will not be cleared. To clear an item ability, the item that added it must be removed.
 
NOTE: item abilities will not be cleared. To clear an item ability, the item that added it must be removed.
  
Line 33: Line 34:
  
 
[[Category: Spells and combat functions]]
 
[[Category: Spells and combat functions]]
 +
[[Category:Character generation]]

Latest revision as of 19:35, 14 January 2010


void CharGen_ClearAbilityList(
object oCreature,
int nAbilityType = 0
);
Parameters:
oCreature
the creature to clear the ability list on
nAbilityType
The ability list to be cleared (ABILITY_TYPE_INVALID will clear all lists)
Returns:

Nothing.

Source:

script.ldf

Description

This is for character creation only.

Do not ever call outside of character generation, it will destroy a player's character.

NOTE: item abilities will not be cleared. To clear an item ability, the item that added it must be removed.