Entity/SetTrigger

From Garry's Mod
Jump to: navigation, search
 Entity:SetTrigger( )

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_ Enums flag.

Arguments

boolean maketrigger

Make the entity trigger or not
Personal tools
Navigation