GetIsFriend(object, object)

Check whether a creature considers another creature a friend.

int GetIsFriend(
    object oTarget,
    object oSource = OBJECT_SELF
);

Parameters

oTarget

The creature whose friend status is to be checked.

oSource

The creature whose opinion will be queried. (Default: OBJECT_SELF)


Description

Returns TRUE if oSource considers oTarget as a friend, otherwise FALSE.



Remarks

This function considers faction feeling as well as personal reputation between the two creatures.


Version

1.22

See Also

functions: CheckFriendlyFireOnTarget | GetIsNeutral | GetIsReactionTypeFriendly | TalentCureCondition
categories: Reputation/Faction Functions


 author: Tom Cassiotis, editor: Kristian Markon