Garry's Mod Wiki

Entity:Input

Entity:Input( string input, Entity activator, Entity caller, any param = nil )

Description

Fires input to the entity with the ability to make another entity responsible.

See also Entity:Fire and GM:AcceptInput.

Arguments

1 string input
The name of the input to fire
2 Entity activator
The entity that caused this input (EG the player who pushed a button)
3 Entity caller
The entity that is triggering this input (EG the button that was pushed)
4 any param = nil
The value to give to the input. Can be either a string, a number or a boolean.

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 3
Generate Html 16
SaveChanges (1) 10
Render Body 0
Render Sidebar 12