Garry's Mod Wiki

Entity:Ignite

Entity:Ignite( number length, number radius = 0 )

Description

Sets the entity on fire.

See also Entity:Extinguish.

Arguments

1 number length
How long to keep the entity ignited. Not supplying this argument will not ignite the entity at all.
2 number radius = 0
The radius of the ignition, will ignite everything around the entity that is in this radius.

Example

Ignite all props on the map for 30 seconds.

for k, v in pairs(ents.FindByClass("prop_physics")) do v:Ignite(30) end

Page Links


Special Pages


Wikis

?

Render Time: 40ms

DB GetPage 6
Generate Html 9
SaveChanges (1) 14
Render Body 0
Render Sidebar 8