Table of Contents

Method SetReputation

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

SetReputation(NwGameObject, int)

Sets how this faction feels about the specified creature.
-> 0-10 means this faction is hostile to the target.
-> 11-89 means this faction is neutral to the target.
-> 90-100 means this faction is friendly to the target.

public void SetReputation(NwGameObject target, int newReputation)

Parameters

target NwGameObject

The target object.

newReputation int

A value between 0-100 (inclusive).