Table of Contents

Method GetWeakestMember

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetWeakestMember(NwCreature?, bool)

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

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

Parameters

referenceCreature NwCreature

The reference creature. Bonuses and penalties against the reference creature will be considered when finding the weakest member.

visible bool

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

Returns

NwCreature