ENTITY:GetRelationship

From Garry's Mod
Jump to: navigation, search
 ENTITY:GetRelationship( )

Description

Called when scripted NPC needs to check how he "feels" against another entity, such as when NPC:Disposition is called.

Arguments

Entity ent

The entity in question

Returns

number

How our scripter NPC "feels" towards the entity in question. See D_ Enums.
Personal tools
Navigation