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 oSource feels 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: oSource will attack oTarget on sight.
11-89 means oSource is neutral to oTarget: oSource won't attack oTarget, but won't defend it either.
90-100 means oSource is friendly to oTarget: oSource will anyone attacking oTarget.
Version
1.61
See Also
functions: | ClearAllFactionMembers | ClearPersonalReputation | GetFactionAverageReputation |
categories: | Reputation/Faction Functions |
author: Tom Cassiotis, editor: Lilac Soul
Send comments on this topic.