Jump to content

Popbumper flash on hit


Kemen

Recommended Posts

Posted

Trying to get pop bumper to flash on hit in 10.6. The flash on hit no longer exists and it now has a hit event tick box. Is there any inherit methods/attributes of the pops that I can call, or how do i get the pop to flash on hit? Add a flasher to pop and trigger on hit?

  • 4 months later...
Posted

I just stuck a light above the bumper and then triggered an on/off like this.
 

Sub Bumper001_Hit()
	PlaySound "fx_bumper1", 0, 2.4, 0, 0, 0, 1, 0, 0
	BumperLight001.State = 1 ' Light on
	Bumper001.TimerEnabled = 1 ' Start timer
End Sub

Sub Bumper001_Timer()
	BumperLight001.State = 0 ' Light off
	Bumper001.TimerEnabled = 0 ' Disable timer
End Sub


 Simplistic and I've since reworked things a bit but it does what's expected

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...