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 }}")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=IsEffectActive
+
|Description=Returns whether an entity has engine effect applied or not.
|Parent=Entity
+
|Description=
+
 
|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 the entity has the engine effect applied or not.
 
}}
 
}}

Latest revision as of 13:04, 11 October 2019

 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 the entity has the engine effect applied or not.
Personal tools
Navigation