Garry's Mod Wiki

CEffectData:SetEntity

  CEffectData:SetEntity( Entity entity )

Description

Sets the entity of the effect to be created with this effect data.

Arguments

1 Entity entity
Entity of the effect, mostly used for parenting.