Garry's Mod Wiki

Entity:SetLightingOriginEntity

  Entity:SetLightingOriginEntity( Entity lightOrigin )

Description

Sets the entity to be used as the light origin position for this entity.

Arguments

1 Entity lightOrigin
The lighting entity.