Entity/Input

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

Contents

Description

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

See also Entity:Fire and GM:AcceptInput.

Arguments

string input

The name of the input to fire

Arguments

Entity activator

The entity that caused this input (EG the player who pushed a button)

Arguments

Entity caller

The entity that is triggering this input (EG the button that was pushed)

Arguments

any param=nil

The value to give to the input. Can be either a string, a number or a boolean.
Personal tools
Navigation