Garry's Mod Wiki
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.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...