Anvil
Anvil.API.Events.OnUseSkill Class Reference

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. More...
 
NwCreature Creature = null! [get]
 Gets the creature using the skill. More...
 
bool PreventSkillUse [get, set]
 Gets or sets whether usage of this skill should be prevented. More...
 
NwSkill Skill = null! [get]
 Gets the skill that is being used. More...
 
SubSkill SubSkill [get]
 Gets the SubSkill (if any) that is being used. More...
 
NwGameObject Target = null! [get]
 Gets the target object for this skill usage. More...
 
Vector3 TargetPosition [get]
 Gets the target position for this skill usage. More...
 
NwItem UsedItem = null! [get]
 Gets the item that is being used, if any. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when a creature attempts to use a skill.

Property Documentation

◆ Area

NwArea Anvil.API.Events.OnUseSkill.Area = null!
get

Gets the area that the skill was used.

◆ Creature

NwCreature Anvil.API.Events.OnUseSkill.Creature = null!
get

Gets the creature using the skill.

◆ PreventSkillUse

bool Anvil.API.Events.OnUseSkill.PreventSkillUse
getset

Gets or sets whether usage of this skill should be prevented.

◆ Skill

NwSkill Anvil.API.Events.OnUseSkill.Skill = null!
get

Gets the skill that is being used.

◆ SubSkill

SubSkill Anvil.API.Events.OnUseSkill.SubSkill
get

Gets the SubSkill (if any) that is being used.

◆ Target

NwGameObject Anvil.API.Events.OnUseSkill.Target = null!
get

Gets the target object for this skill usage.

◆ TargetPosition

Vector3 Anvil.API.Events.OnUseSkill.TargetPosition
get

Gets the target position for this skill usage.

◆ UsedItem

NwItem Anvil.API.Events.OnUseSkill.UsedItem = null!
get

Gets the item that is being used, if any.


The documentation for this class was generated from the following file: