AddAbility
Usage:
AddAbility(Actor, Ability, [Level])
Description:
The AddAbility command gives an actor access to an ability in their ability book. It will need to be memorised before they can use it. Abilities could be used for many things, including magic, psionic powers, martial arts, etc.
The Ability parameter is the name of an ability created in the main editor. The optional Level parameter allows you to create the ability with a high level. The default level is 1.
Example:
Function Main()
// Give player a healing spell
AddAbility(Actor(), "Heal Self")
Return()
End Function
Comments (0)
You don't have permission to comment on this page.