AbilityMemorised
Usage:
AbilityMemorised(Actor, Ability)
Description:
The AbilityMemorised command returns 1 if an ability is known and memorised by a player, or 0 if the ability is not memorised. All known abilities must be memorised before they can be used.
Example:
Function Main()
Result = AbilityMemorised(Actor(), "Heal Self")
If (Result == 0)
Output(Actor(), "You have not memorised the healing spell")
Else
Output(Actor(), "You are ready to use the healing spell")
EndIf
Return()
End Function
Comments (0)
You don't have permission to comment on this page.