NPC:Disposition
Description
Returns the way the NPC "feels" about a given entity. See NPC:AddEntityRelationship.
For
ai
type entities, this will return ENTITY:GetRelationship. If it returns nil
or for engine NPCs, this will return whatever was last set by NPC:AddEntityRelationship. As a last resort, engine will decide on the disposition based on this NPC's NPC:Classify.Arguments
Returns
Example
If a player is hurt by a friendly NPC, announce it.
Output: Prints "A ____ attacked ____!" to everyones chat.