description:
trap_lightning - Continuously fire lightning.
trap_lightning_switched - Continuously fires lightning.
trap_lightning_triggered - When triggered, fires lightning in the direction set in QuakeEd.
usage:
From what i've tested so far, you have to set the angle of the lightning, and keep in mind that solid brushes will block the lightnings path, as will entities (ie: func_doors) which can be used to good effect. Levelord mentioned that info_notnull is used for targeting lightning, but I have not tested this yet.
keys/values:
"wait"
"nextthink"
"dmg"
"duration"
"state" |
how long to wait between blasts (1.0 default) if in random mode
wait is multiplied by random
delay before firing first lightning, so multiple traps can be stagered.
how much damage lightning should inflict (30 default)
how long each lightning attack should last (0.1 default)
(switched only) 0 (default)initially off, 1 initially on. |
flags:
random
boom |
waits (wait * random) between blasts
make a thuinderous "boom" when lightning starts |
see also:
|