I have been using FP for a year or so now, off and on, and I am starting to make a more complex table. There are a couple of problems I keep running into and my programmer's sense is telling me that this is not right.
First of all is the For/Next loop. I know how they work but each time I put one in, the compiler would tell me that it expects and end of statement
ie:
Dim i
i = 0
For i = 1 to 10
Commands are ran....
Next I
This error usually does it for Next. What is going on with this?
The next question is the 'DoEvents' command. I just tried to use this as well to allow my DMD displays to update, but I get a 'This variable is undefined' message. I am using a scripting help guide that I did download off this site. Is there a command like this at all to allow me to update stuff while a Do/Loop is ran? If this is it, why would it do that?
The next is how do I make a basic add bonus to score type system when the player loses their ball? I tried many ways and still haven't figured it out. Some basic code will help, I learn by seeing then copy.
- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
-
More


Top









are all trademarks of VPFORUMS.