From GMod Wiki
Function: | Light objects on fire. |
Primary fire: | Creates an Igniter. |
Secondary fire: | No action. |
Reload: | No action |
Notes: | |
Brief
Lights objects on fire.
An Igniter lighting a prop on fire.
Inputs
- A (Ignite).
- Length (how long to ignite for).
Variables
- Allow Player Igniting
- Max Range
Useful hints
- Note: To enable player igniting you both have to check the checkbox and also set the server variable (sbox_wire_igniters_allowtrgply) to 1. This is to prevent people creating death machines on internet servers (unless the host allows it).
- The ignite length is clamped to 30 seconds by default. To increase this limit, alter the server variable (sbox_wire_igniters_maxlen).
Example
Revan's Igniter, Nailer, and Turret Tutorial