Entity/IsEffectActive

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=IsEffectActive |Parent=Entity |Description= |Realm=Shared |IsClass=Yes }}")
 
Line 2: Line 2:
 
|Name=IsEffectActive
 
|Name=IsEffectActive
 
|Parent=Entity
 
|Parent=Entity
|Description=
+
|Description=Returns whether an entity has engine effect applied or not.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 +
}}
 +
{{Arg
 +
|type=number
 +
|name=effect
 +
|desc=The effect to check for, see {{Enum|EF}}.
 +
}}
 +
{{Ret
 +
|type=boolean
 +
|desc=whether an entity has the engine effect applied or not.
 
}}
 
}}

Revision as of 13:18, 21 April 2014

 Entity:IsEffectActive( )

Description

Returns whether an entity has engine effect applied or not.

Arguments

number effect

The effect to check for, see EF_ Enums.

Returns

boolean

whether an entity has the engine effect applied or not.
Personal tools
Navigation