Pulse Rifle FX Module Wiki
Aliens Pulse Rifle M41A SFX / Counter Module
Status: Beta
Brought to you by:
majenko
:::C
void initAutofire(int in, int speed, void (*func)(int, int));
Initialize the autofire functionality. The function specified in the third parameter will be called speed times per second while the input channel in is activated.
:::C
initAutofire(0, 20, pulse_rifle_fire);