Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 2
Generate Html 6
SaveChanges (1) 8
Render Body 0
Render Sidebar 12