Table of Contents

Method GetMostDamagedMember

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetMostDamagedMember(NwCreature?, bool)

Gets the most damaged member in this faction that is visible from the specified object.

public NwCreature GetMostDamagedMember(NwCreature? referenceCreature = null, bool visible = false)

Parameters

referenceCreature NwCreature

The reference creature, used to determine visibility.

visible bool

Highly recommended to set to "true" on large NPC factions. Includes only creatures visible to referenceCreature.

Returns

NwCreature