Visual Pinball > Help

Dogtown rampbonus coding problems

(1/1)

faralos:
here is the link to my dogtown wip
 I have been having problems coding or trying to code
the ramp bonus and lane bonus scoring routines
they reside as 'public' which is I think the same as dimmed things
but when I try to 'addscore' using them
 I am lost as how to actually write it
http://www.speedyshare.com/PXKXn/Dogtown-v1.zip
here are a few examples pulled from the code
any help anyone can offer would be greatly appreciated
 I want it to add those ramp bonuses as separate from the addscore line
like it should say in the text box upon ball drain
ramp bonus 2000 or whatever it should be
does that help any

Itchigo:
Yeah, that won't work. What I would do is make a rampbonus sub, then call it. I use this method for credits. I just make 1 sub and constantly call to it.:D


Sub ramptrigger_Hit()
Rampbonus
End Sub

Sub Rampbonus()
Addscore
Flash lights
End Sub

Navigation

[0] Message Index

Go to full version