#ifdef SVQC
void multivibrator_send()
-{
+{SELFPARAM();
float newstate;
float cyclestart;
}
void multivibrator_toggle()
-{
+{SELFPARAM();
if(self.nextthink == 0)
{
multivibrator_send();
}
void multivibrator_reset()
-{
+{SELFPARAM();
if(!(self.spawnflags & 1))
self.nextthink = 0; // wait for a trigger event
else
-------- SPAWNFLAGS --------
START_ON: assume it is already turned on (when targeted)
*/
-void spawnfunc_trigger_multivibrator()
+spawnfunc(trigger_multivibrator)
{
if(!self.wait)
self.wait = 1;