Jump to content



Photo
- - - - -

Light Sequencer Chasing Lights help...soooo close...


  • Please log in to reply
4 replies to this topic

#1 tabascoman77

tabascoman77

    Enthusiast

  • Silver Supporter
  • 211 posts
  • Location:San Jose, CA

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone, Tron Legacy, Black Hole, Elvira & the Party Monsters

Posted 03 May 2023 - 11:11 PM

This is for an original table I'm designing...

 

I have ALMOST got it but I find that the timing is causing a more random effect and lights won't actually chase and will sometimes have lights in the set lighting up at the same time.

 

Here's what I have...

 

Sub LightSeqAttract
On Error Resume Next
    LightSeqBumpers1.UpdateInterval = 100
    LightSeqBumpers1.Play SeqBlinking,,10000,100
    LightSeqBumpers2.UpdateInterval = 75
    LightSeqBumpers2.Play SeqBlinking,,10000,100
    LightSeqBumpers3.UpdateInterval = 50
    LightSeqBumpers3.Play SeqBlinking,,10000,100
    LightSeqBumpers4.UpdateInterval = 25
    LightSeqBumpers4.Play SeqBlinking,,10000,100
On Error goto 0

End Sub

 

I could really use help getting the lights to blink in sequence. It's only 4 of them. I want to start with the left bumper (first) light, then go up to the next bumper (2nd), continue down into a center light (3rd) and go to the 4th light which is a bumper.

 

I want one light on at a time. I feel like I've ALMOST got it but not quite. If I can get this to work, I will have an entire light sequence on my table.


Edited by tabascoman77, 03 May 2023 - 11:12 PM.

Custom build: Windows 10, i5 6600, Nvidia GTX 970, 16 GB RAM


#2 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 03 May 2023 - 11:35 PM

Shouldnt this be a lightseq pointing to a collection. That collection is the list of bumper lights you want .. in order. Then the seq will hit each light in the collection, one at a time or whatever you select.


* I don't know everything - I just have no life *
testimageNL

 

 

 

#3 tabascoman77

tabascoman77

    Enthusiast

  • Silver Supporter
  • 211 posts
  • Location:San Jose, CA

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone, Tron Legacy, Black Hole, Elvira & the Party Monsters

Posted 04 May 2023 - 04:05 AM

Shouldnt this be a lightseq pointing to a collection. That collection is the list of bumper lights you want .. in order. Then the seq will hit each light in the collection, one at a time or whatever you select.

 

I tried that. The issue is that I can't get chasing blinking lights pointing at one collection. If I set them in one collection, they all blink at the same time.


Edited by tabascoman77, 04 May 2023 - 09:59 AM.

Custom build: Windows 10, i5 6600, Nvidia GTX 970, 16 GB RAM


#4 allknowing2012

allknowing2012

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,948 posts
  • Location:Waterloo, ON

  • Flag: Canada

  • Favorite Pinball: bucaneer

Contributor

Posted 04 May 2023 - 12:47 PM

okay then create a timer with a case switch statement. No need for a lightseq. Just loop thru the timer and hit the lights as needed. 


* I don't know everything - I just have no life *
testimageNL

 

 

 

#5 tabascoman77

tabascoman77

    Enthusiast

  • Silver Supporter
  • 211 posts
  • Location:San Jose, CA

  • Flag: United States of America

  • Favorite Pinball: Twilight Zone, Tron Legacy, Black Hole, Elvira & the Party Monsters

Posted 04 May 2023 - 09:53 PM

okay then create a timer with a case switch statement. No need for a lightseq. Just loop thru the timer and hit the lights as needed. 

 

What I did, per JPSalas, was edit all the lights in the editor (not scripted) so that they blink and chase. Now, I just have to find a way to shut them off when I press start, which I believe you can do in the script.

 

Bear with me...I have very little idea how to script so while I understand what you're telling me (created timers, collections, etc.), I just have no idea how to write it in the script so that it works.

 

I need help on this project and don't know who to turn to.


Custom build: Windows 10, i5 6600, Nvidia GTX 970, 16 GB RAM