Garry's Mod Wiki

ENTITY:GetRelationship

ENTITY:GetRelationship

number ENTITY:GetRelationship( Entity ent )

Description

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

Arguments

1 Entity ent
The entity in question

Returns

1 number
How our scripter NPC "feels" towards the entity in question. See Enums/D.

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7