Table of Contents

Class NwAreaOfEffect

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

The area/region of an ongoing spell effect or ability.

public sealed class NwAreaOfEffect : NwGameObject, IEquatable<NwObject>
Inheritance
NwAreaOfEffect
Implements
Inherited Members
Extension Methods

Properties

Creator

Gets the creator of this Area of Effect.

IsValid

Gets a value indicating whether this is a valid object.

Radius

Gets the radius of this area of effect.

RemainingDuration

Gets the Area Of Effect duration.

Spell

Gets the spell from which the Area Of Effect was created.

Methods

Clone(Location, string?, bool)

Creates a copy of this game object.

GetObjectsInEffectArea(ObjectTypes)

Gets all objects of the given types that are currently in this area of effect.

GetObjectsInEffectArea<T>()

Gets all objects of the given type that are currently in this area of effect.

Serialize()
SetRadius(float)

Set the radius of this area of effect.

Events

OnEnter

Called when an object enters the area of effect.

OnExit

Called when an object exits the area of effect.

OnHeartbeat

Called at a regular interval (approx. 6 seconds).

OnUserDefined

Operators

implicit operator CNWSAreaOfEffectObject?(NwAreaOfEffect?)