Entity:Fire
Entity:Fire( string input, string param = nil, number delay = 0, Entity activator = nil, Entity caller = nil )
Description
Fires an entity's input, conforming to the map IO event queue system. You can find inputs for most entities on the Valve Developer Wiki
See also Entity:Input for a function that bypasses the event queue and GM:AcceptInput.
Arguments
Example
If you are looking at a door, this will lock it