GetIsReactionTypeHostile(object, object)

Determine whether a creature has a hostile reaction towards another given creature.

int GetIsReactionTypeHostile(
    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 hostile 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 GetIsEnemy() instead.


Version

1.22

See Also

functions: GetIsEnemy
categories: Reputation/Faction Functions


 author: Jason Harris, editor: Kristian Markon
 Send comments on this topic.