GetReputation(object, object)

Determines how one creature feels toward another creature.

int GetReputation(
    object oSource,
    object oTarget
);

Parameters

oSource

The creature (or object) is the subject of oTarget's feelings.

oTarget

The creature (or object) whose feelings we wish to know.


Description

Returns an integer between 0 and 100 (inclusive) that represents how oSourcefeels about oTarget.

Returns -1 if either oSource or oTarget is an invalid object.



Remarks

Interpretation of the values returned by this function:
0-10 means oSource is hostile to oTarget
11-89 means oSource is neutral to oTarget
90-100 means oSource is friendly to oTarget


Version

1.22

See Also

functions: ClearAllFactionMembers | ClearPersonalReputation | GetFactionAverageReputation
categories: Reputation/Faction Functions


 author: Tom Cassiotis
 Send comments on this topic.