Entity/Use

From Garry's Mod
Revision as of 16:19, 4 July 2016 by Apickx (Talk | contribs)
Jump to: navigation, search
 Entity:Use( )

Contents

Description

Activates the entity, as if a player pressed the Use key (Default E) on it.

Arguments

Player Activator

The player to credit with activating the entity.

Arguments

Entity Caller

Used when an entity instead of a player should trigger the use.

Arguments

number UseType

The type of use to trigger. See USE_ Enums

Arguments

number Integer

You can usually set this to 1.
Personal tools
Navigation