Entity.Ignite

From GMod Wiki

Revision as of 16:33, 6 January 2011 by Cube334 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Entity:Ignite( float duration, float radius )
Description:
Causes the entity to burst into flames.
Returns: nil
In Object: Entity
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.Ignite]Entity.Ignite [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSets the entity on fire for a given time.
Used onNewerServer.png
Code
local igniteForSeconds = 10
ent:Ignite(igniteForSeconds,0)
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox