Garry's Mod Wiki

Entity:SetTrigger

Entity:SetTrigger

  Entity:SetTrigger( boolean maketrigger )

Description

Marks the entity as a trigger, so it will generate ENTITY:StartTouch, ENTITY:Touch and ENTITY:EndTouch callbacks.

Internally this is stored as FSOLID_TRIGGER flag.

Arguments

1 boolean maketrigger
Make the entity trigger or not

Special Pages


Wikis

?

Render Time: 128ms

DB GetPage 63
Generate Html 4
SaveChanges (1) 52
Render Body 0
Render Sidebar 7