Jump to content

Popbumper flash on hit


Kemen

Recommended Posts

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?

Link to comment
Share on other sites

  • 4 months later...

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...