Entity.SetTrigger
From GMod Wiki
Function | |
Syntax | Entity:SetTrigger( Boolean enabled ) |
Description: | |
Allows you to trigger OnTouch even if the object/player doesn't collide with the object | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetTrigger]Entity.SetTrigger [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- For example, say you have a flag in a gamemode that you want to have vphysics but you don't want players walking through and past it. This allows just that.
- This function might have other functionality as well. (Unknown at this time)