Table of Contents

Method GetLeastDamagedMember

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetLeastDamagedMember(NwCreature?, bool)

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

public NwCreature GetLeastDamagedMember(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