 |
It is currently Wed Jun 19, 2013 11:32 pm All times are UTC - 5 hours [ DST ]
|
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
jrolson
|
Post subject: Need Help Scripting Vari Targets Posted: Tue Jan 24, 2012 2:56 am |
|
Joined: Tue Dec 27, 2011 10:52 pm Posts: 59
|
 Need help scripting vari targets. My vari targets add points when hit and when they reset. How do I stop them from adding points when resetting? My code, Code: Sub TargetVari1_Hit() Select Case (fpEventID) Case 1: AddScore(100) Case 2: AddScore(100) Case 3: AddScore(200) Case 4: AddScore(200) Case 5: AddScore(300) Case 6: AddScore(500) End Select Timer1.Set True, 1000 End Sub
Sub Timer1_Expired() TargetVari1.SolenoidPulse(1000) Timer1.Set False End Sub
_________________ Tables Completed: Jive Time, & Baseball
|
|
 |
|
 |
|
Sebek74
|
Post subject: Re: Need Help Scripting Vari Targets Posted: Sat Mar 24, 2012 4:06 pm |
|
Joined: Thu Mar 22, 2012 4:06 pm Posts: 155 Location: Poland, Lodz
|
|
Hi
Can you make some investigations about multiple TargetVari1_Hit() calls? What the Timer1 is used for? I assume you can make some SolenoidPulse when timer elapses. The only advice is to use some timer and set it for second or two when table is hit and ignore hit events (and adding scores) when timer is still set. Don't forget to stop timer when it elapses.
_________________ Sebek74 http://futurepinball.mm.com.pl/ home for: Ignition, Beat-Box, Nightmare, Billion Dollar Gameshow, Wild West, Trick or Treat and Gfx2DmdF & modified DosBOX DMD ripping tools http://picasaweb.google.com/sebek74 - personal photo gallery, plz visit & comment!
|
|
 |
|
 |
|
Popotte
|
Post subject: Re: Need Help Scripting Vari Targets Posted: Sat Mar 24, 2012 5:18 pm |
|
Joined: Fri Jul 02, 2010 4:50 am Posts: 506 Location: Paris - France
|
|
Look at my scripts (Pro Football, Big Indian, Airport, ...). Vari targets is not the best emulated coumponent with FP, so you have to be creative...
_________________ Les cons ça ose tout. C'est même à ça qu'on les reconnaît.My tables avalaible at http://www.pinsimdb.org/fpreleases/ or  Le prix s'oublie, la qualité reste
|
|
 |
|
 |
|
D_Struct
|
Post subject: Re: Need Help Scripting Vari Targets Posted: Wed Mar 28, 2012 12:44 am |
|
Joined: Fri Jan 20, 2012 12:48 pm Posts: 1348 Location: Lufkin, Texas
|
|
Popotte is definitely the man to talk to about this.
_________________ Artwork Contributions: Big Guns, King Kong, Hot Tip, Gilligan's Island, Police Force, The Simpson's Pinball Party, NBA Fastbreak Table Builds: Ali, Elvis, Tommy, Red & Ted's Roadshow (current WIP) Twitter: https://twitter.com/D_Struct
|
|
 |
|
 |
|
EvaderPTY
|
Post subject: Re: Need Help Scripting Vari Targets Posted: Fri May 17, 2013 12:57 pm |
|
Joined: Tue Mar 12, 2013 11:33 pm Posts: 73
|
|
thanks for the tip Popotte. Casually I have one of these vari-targets in my project.
|
|
 |
|
 |
|
|
Page 1 of 1
|
[ 5 posts ] |
|
It is currently Wed Jun 19, 2013 11:32 pm All times are UTC - 5 hours [ DST ]
Users browsing this forum: No registered users and 1 guest |
| |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |