GetIsReactionTypeFriendly(object, object)
Determine whether a creature has a friendly reaction towards another given creature.
int GetIsReactionTypeFriendly( object oTarget, object oSource = OBJECT_SELF );
Parameters
oTarget
The target creature to test.
oSource
The source creature to test the feelings of. (Default: OBJECT_SELF)
Description
Returns TRUE if oSource has a friendly reaction towards oTarget, depending on the reputation, PVP setting and (if both oSource and oTarget are PCs), oSource's Like/Dislike setting for oTarget.
Remarks
If you just want to know how two objects feel about each other in terms of faction and personal reputation, use GetIsFriend() instead.
Version
1.22
See Also
functions: | CheckFriendlyFireOnTarget | GetIsFriend |
categories: | Reputation/Faction Functions |
author: Jason Harris, editor: Kristian Markon
Send comments on this topic.