ENTITY:AcceptInput

From Garry's Mod
Jump to: navigation, search
 ENTITY:AcceptInput( )

Contents

Description

Called when another entity fires an event to this entity.

Arguments

string inputName

The name of the input that was triggered.

Arguments

Entity activator

The initial cause for the input getting triggered.

Arguments

Entity called

The entity that directly trigger the input.

Arguments

string data

The data passed.

Returns

boolean

Should we suppress the default action for this input?
Personal tools
Navigation