Difference between revisions of "CharGen ClearAbilityList"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(reformatting)
(removing {{Generated}} looks fine)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=CharGen_ClearAbilityList
 
|name=CharGen_ClearAbilityList
Line 35: 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.