Trap shooter

Trap shooter

Classname: trap_shooter
Purpose: Hazing
H2 Code: misc.hc
The repeat-fire version of trap_spikeshooter. Doesn't seem to be able to be switched on or off; looks like a cycle-sucker.

Fields

angle Value is an angle (in degrees); direction spike goes. -1 for up, -2 for down.
wait Value is a number, interval between shots (default=1)
nextthink Value is a number, delay before shooting begins (so that multiple shooters can be desynchronized).

Note

The code comments have spawnflags 1=SUPERSPIKE, 2=LASER, but these appear to have been de- or non- implemented.
Back to the list.