|
Anvil
|
Called when a creature attempts to use a skill. More...
Inheritance diagram for Anvil.API.Events.OnUseSkill:
Collaboration diagram for Anvil.API.Events.OnUseSkill:Classes | |
| class | Factory |
Properties | |
| NwArea | Area = null! [get] |
| Gets the area that the skill was used. | |
| NwCreature | Creature = null! [get] |
| Gets the creature using the skill. | |
| bool | PreventSkillUse [get, set] |
| Gets or sets whether usage of this skill should be prevented. | |
| NwSkill | Skill = null! [get] |
| Gets the skill that is being used. | |
| SubSkill | SubSkill [get] |
| Gets the SubSkill (if any) that is being used. | |
| NwGameObject | Target = null! [get] |
| Gets the target object for this skill usage. | |
| Vector3 | TargetPosition [get] |
| Gets the target position for this skill usage. | |
| NwItem | UsedItem = null! [get] |
| Gets the item that is being used, if any. | |
Properties inherited from Anvil.API.Events.IEvent | |
Called when a creature attempts to use a skill.