Table of Contents

Property ControllingPlayer

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ControllingPlayer

Gets or sets the player currently controlling this creature.
If this creature is a possessed familiar or is DM possessed, this will return the player or DM controlling this creature.
If this creature is a player creature (the creature a played logged in with), but the player is possessing another creature, this returns null.
If no player is controlling this creature, this returns null.
The setter makes this this creature controllable by the specified player, if player party control is enabled.

public NwPlayer? ControllingPlayer { get; set; }

Property Value

NwPlayer