Create Character Hooks
During the 'Character Creation Process we call Hooks so that you, the Designer, can modify the character being created. For example, when creating a Magic User, you might want to give the character a Special Ability such as “IsPsionic' in order to create a magic specialist.
Hook - “PostClass”
This hook is called after the player finishes selecting the character's class.
Search Order
Global Special Ability named 'Global_CreateCharacter'.
Context
Character
Hook – “PostCreateCharacter”
This hook is called after the player accepts the new character and it is about to be saved..
Search Order
Global Special Ability named 'Global_CreateCharacter'.
Race of created character
Class of created character
Each Baseclass of the created character's class
Context
Class of created character
Race of created character
Character
Baseclass (only for hooks attached to Baseclass Special Abilities)
Hook – “IsBaseclassAllowed”
This hook is called after the player selects a race and gender and is about to select a class.
During character creation we decide what classes are allowed for the new character. Before we list a class as a possible class for the character, we check that all the basesclasses of that class are allowed to the character. If any baseclass of a class in not allowed then the class itself is not allowed. This hook provides a method for the designer to tell the engine whether or not a baseclass is allowed for a newly created character.
Default Action
All baseclasses of a class are allowed by default.
Search Order
Baseclass - Each baseclass of each class.
Context
Baseclass
Hook Parameters
Hook Parameter 5 = Gender (“M” or “F”)
Hook Parameter 6 = Race
Return Value
The hook is called for each baseclass of a class. If any hook returns a value staring with “N”, then the class will not be allowed.