Entity/AddEffects

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 8: Line 8:
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=effectEnum
+
|name=effect
|desc=The effect, see {{Enum|EF}}.
+
|desc=The effect to apply, see {{Enum|EF}}.
 
}}
 
}}
 
{{Example
 
{{Example

Revision as of 13:18, 21 April 2014

 Entity:AddEffects( )

Contents

Description

Applies an engine effect to an entity.

Arguments

number effect

The effect to apply, see EF_ Enums.

Examples

Example

Adds a blinking effect to an entity.

Entity:AddEffects( EF_ITEM_BLINK )


Personal tools
Navigation