SetPCDislike(object, object)

Sets the fact that a player dislikes a creature (or object).

void SetPCDislike(
    object oPlayer,
    object oTarget
);

Parameters

oPlayer

The PC to set their attitude.

oTarget

The creature that dislikes the PC (and the PC dislike it).


Description

Sets oPlayer and oTarget to dislike each other.

"Like" is a neutral, non-hostile stance towards the oTarget.

"Party" is a friendly stance towards oTarget.

"Dislike" makes you an enemy of the person. When moused-over, you will glow with the same red aura as NPC enemies, and will function the same in other ways as well (mouse changes to the sword "attack" command, etc...) If any NPC creatures under your command (familiar, animal companion, summons, mercs) see a player you dislike, the will attack immediately. Also, note that these states are two-way. If you dislike another player, they will automatically dislike you. If you like someone when a state of dislike is in place, they will automatically like you as well.



Version

1.28

See Also

functions: SetPCLike
categories: Reputation/Faction Functions


 author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Karl Frauendienst
 Send comments on this topic.