BAM FP Real Plunger For Future Pinball!!

Future Pinball
OK, I'll have a deeper look at that.
 
Better (look at JPR in the script)
 

Attachments

  • ```JPsPlungerCodeDemoGeorgeHMod2.fpt
    224.5 KB · Views: 3
The plunger is still active after you press the arrow keys. I added some debug code. When the arrow is pressed, the status changes back and forth from blank and false but as soon as you press the plunger key the status changes to true. Maybe we should use a different key to launch the ball after using the up and down arrow keys (right arrow key?).

This may not be worth pursuing much further.
 

Attachments

  • ```JPsPlungerCodeDemoGeorgeHMod2.fpt
    224.5 KB · Views: 3
Last edited:
Where is the problem? After using the arrow kays, you have to press the plunger key in order to launch the ball.
 
Where is the problem? After using the arrow kays, you have to press the plunger key in order to launch the ball.

When you press the plunger key after using the arrow keys, the plunger will continue to pull back which negates the precision of the arrow keys. It is more obvious if you hold the plunger key down a while after using the arrow keys. The trick is you need to disable the key press of the plunger (plunger pull) but be able to use the key release (plunger letgo). If you assign the letgo function to the right arrow key, you can avoid having to deactivate the plunger pull function of the plunger key.

The change was so easy that I was able to do it myself. It doesn't even need a flag. See what you think of using the right arrow key to letgo of the plunger.
 

Attachments

  • ```JPsPlungerCodeDemoGeorgeHMod.fpt
    224.5 KB · Views: 1
Last edited:
I think it's a bad idea to have an other key. Let me some time as I think problem could be solve with no other key.
 
I think it's a bad idea to have an other key. Let me some time as I think problem could be solve with no other key.
You are a better coder than I but I tried several methods using a flag without success. My guess is it will require a method other than using a flag.
 
Try that
 

Attachments

  • ```JPsPlungerCodeDemoGeorgeHMod4.fpt
    224.5 KB · Views: 3
Cool! You got it to work with just one change! I thought it would take more than that. I couldn't figure it out.

If PlungerPercentage = 0 Then PlungerKeyPressed = True

It looks like this is not needed under BeginPlay:

PlungerKeyPressed = ""

Thanks JP!
 
Last edited:
General chit-chat
Help Users
You can interact with the ChatGPT Bot in any Chat Room and there is a dedicated room. The command is /ai followed by a space and then your ? or inquiry.
ie: /ai What is a EM Pinball Machine?
  • No one is chatting at the moment.
  • Chat Bot Mibs Chat Bot Mibs:
    Pinheads has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    helptv has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    joeboxer has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Auleric has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    vizzone has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Develop has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Krusty104 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    grh450 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    redharry has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    kono87 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Blonderkarli has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Seven Tigerz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    onedevotee75 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    rgmohr has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    teelegend has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    artmetz has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    chaoswar has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    jerseydude has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Necat has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    SpaceFace70 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    hannon904 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    bigkev5 has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    ISLM has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    Luckycow has left the room.
  • Chat Bot Mibs Chat Bot Mibs:
    achilipu has left the room.
      Chat Bot Mibs Chat Bot Mibs: achilipu has left the room.
      Back
      Top