ACF_RenderLight

C

Part of _G (Global) namespace

function ACF_RenderLight(idx, lightSize, colour, pos, duration)
View on GitHub|lua/acf/client/cl_acfrender.lua:86-105
👁️ 0 viewsUpdated 2 hours ago
⚠️

Verification Needed

This function has no documentation yet.

Description

No description available.

Parameters

NameTypeDescription
idxany
lightSizeany
colourany
posany
durationany

Returns

No return values documented.

Examples

No examples available.

Used In(13 locations)

📄lua/acf/client/cl_acfrender.lua
1 usage
L78ACF_RenderLight(idx, lightSize, colour, pos, duration)
📄lua/effects/ace_scaled_detonation/init.lua
3 usages
L79ACF_RenderLight( 0, self.Radius * 700, Color(255, 90, 15), self.Origin, 0.2) -- idx 0: world
L82ACF_RenderLight( 0, self.Radius * 1600, Color(255, 90, 15), self.Origin, 0.5) -- idx 0: world
L85ACF_RenderLight( 0, self.Radius * 1800, Color(255, 90, 15), self.Origin, 1) -- idx 0: world
📄lua/effects/acf_muzzleflash/init.lua
1 usage
L77ACF_RenderLight(Gun:EntIndex(), Caliber * 75, Color(255, 128, 48), Muzzle.Pos + self.DirVec * (Caliber / 5))
📄lua/effects/acf_scaled_explosion/init.lua
3 usages
L78ACF_RenderLight( 0, self.Radius * 700, Color(255, 90, 15), self.Origin, 0.2) -- idx 0: world
L81ACF_RenderLight( 0, self.Radius * 1600, Color(255, 90, 15), self.Origin, 0.5) -- idx 0: world
L84ACF_RenderLight( 0, self.Radius * 1800, Color(255, 90, 15), self.Origin, 1) -- idx 0: world
📄lua/entities/ace_flare/cl_init.lua
1 usage
L39ACF_RenderLight(self:EntIndex(), 20000, Color(255, 196, 0), self:GetPos(), 0.1)
📄lua/entities/ace_missile/cl_init.lua
1 usage
L32ACF_RenderLight(idx, self.LightSize, colour, pos, 1)
📄lua/weapons/weapon_ace_base/shared.lua
2 usages
L299ACF_RenderLight(self:EntIndex(), self.Primary.LightScale, Color(255, 128, 48), self:GetPos())
L341ACF_RenderLight(self:EntIndex(), self.Primary.LightScale, Color(255, 128, 48), self:GetPos())
📄lua/weapons/weapon_ace_portablemortar/shared.lua
1 usage
L564ACF_RenderLight(self:EntIndex(), self.Primary.LightScale, Color(255, 128, 48), self:GetPos())