Jump to content



Photo
- - - - -

Can I Adjust Flasher Size In the Script?

flashers

  • Please log in to reply
2 replies to this topic

#1 CrimsonTurtle8

CrimsonTurtle8

    Enthusiast

  • Members
  • PipPipPip
  • 386 posts
  • Location:US

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 06 December 2024 - 09:11 PM

I know flashers can be moved on the table via script actions, but I can't find anything about shrinking or growing them.

 

I know primitives use something like:

Primitive.Size_Y = Primitive.Size_Y + 10

and to move flashers it's just

Flasher.x = 100

But primitive commands and flasher commands are obviously different and no trial and error has worked yet. Any help is appreciated!

 

 



#2 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,300 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 06 December 2024 - 10:26 PM

If you take a look at the CommandReference.txt you will see the list of commands available for a flasher, and you will see that the list is very different from a primitive. A flasher does not have any commands to change its size.

 

But you can always use a primitive to do almost the same as a flasher, and in VPX8 you can link a primitive to a light and by turning on a off the light you can make the primitive fade at the same time of the light.

 

Another way to have an effect of a flasher growing and shrinking could be achieved by using several flashers on top of each other and play with their visibility.


If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters


#3 CrimsonTurtle8

CrimsonTurtle8

    Enthusiast

  • Members
  • PipPipPip
  • 386 posts
  • Location:US

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 07 December 2024 - 01:16 AM

If you take a look at the CommandReference.txt you will see the list of commands available for a flasher, and you will see that the list is very different from a primitive. A flasher does not have any commands to change its size.

 

But you can always use a primitive to do almost the same as a flasher, and in VPX8 you can link a primitive to a light and by turning on a off the light you can make the primitive fade at the same time of the light.

 

Another way to have an effect of a flasher growing and shrinking could be achieved by using several flashers on top of each other and play with their visibility.

Thanks! Yeah I'll just make a primitive of a flat disc.







Also tagged with one or more of these keywords: flashers