Table of Contents

Method ActionUseSkill

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ActionUseSkill(NwSkill, NwGameObject, SubSkill, NwItem?)

Instructs this creature to attempt to use a skill on another object.

public Task ActionUseSkill(NwSkill skill, NwGameObject target, SubSkill subSkill = SubSkill.None, NwItem? itemUsed = null)

Parameters

skill NwSkill

The skill to use.

target NwGameObject

The target to use the skill on.

subSkill SubSkill

A specific subskill to use.

itemUsed NwItem

An item to use in conjunction with this skill.

Returns

Task