Difference between revisions of "CharGen ClearAbilityList"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) (removing {{Generated}} looks fine) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=CharGen_ClearAbilityList | |name=CharGen_ClearAbilityList | ||
Line 6: | Line 5: | ||
|param1name=oCreature | |param1name=oCreature | ||
|param1desc=the creature to clear the ability list on | |param1desc=the creature to clear the ability list on | ||
+ | |param1default= | ||
|param2type=int | |param2type=int | ||
|param2name=nAbilityType | |param2name=nAbilityType | ||
|param2desc=The ability list to be cleared (ABILITY_TYPE_INVALID will clear all lists) | |param2desc=The ability list to be cleared (ABILITY_TYPE_INVALID will clear all lists) | ||
+ | |param2default=0 | ||
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= | ||
Line 17: | 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. --> | ||
− | + | '''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 31: | Line 34: | ||
[[Category: Spells and combat functions]] | [[Category: Spells and combat functions]] | ||
+ | [[Category:Character generation]] |
Latest revision as of 19:35, 14 January 2010
- 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.