Table of Contents

Method DMPossessCreature

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

DMPossessCreature(NwCreature, bool)

If this player is a DM, causes them to possess the specified creature.

public void DMPossessCreature(NwCreature creature, bool impersonate = false)

Parameters

creature NwCreature
impersonate bool

True if the DM should retain their full powers during possession, false if they get the creature's powers.

Exceptions

InvalidOperationException

Thrown if the player is not a DM, or the creature is already possessed by another player.