Table of Contents

Method ActionAttackTarget

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ActionAttackTarget(NwGameObject, bool)

Instructs this creature to start attacking the target using whichever weapon they currently have equipped.

public Task ActionAttackTarget(NwGameObject target, bool passive = false)

Parameters

target NwGameObject

The target object to attack.

passive bool

If TRUE, the attacker will not move to attack the target. If we have a melee weapon equipped, we will just stand still.

Returns

Task