User Tag List

Results 1 to 4 of 4

Thread: Counter to counter transfer

  1. #1
    No Products Registered

    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Counter to counter transfer

    Let me just say two things that are contradictory. Firstly, I've been using Clickteam products my entire life. Secondly, I am very bad at math. I can make good games but I've never made one with ammo like this. My problem is that I have the ammo clip and the ammo reserve:

    http://i10.photobucket.com/albums/a1...orte/mmfex.png

    The left digit is the clip, the right the reserve. When you reload, the player is supposed to transfer up to the maximum of 60 (which is the max for the clip) from the reserve of available ammo. My problem is I cannot get the reserve to transfer to the clip. I want up to the max of 60 to be transfered from reserve to clip, but the only working result I get is that 60 is always transferred regardless of the amount in the reserve.

    So, let's say I have 20 in reserve. I reload, I get 60 back to the clip. I'm BAD at math, it's embarrassing, but I need help. How to I transfer a maximum between 0-60 from the reserve counter to the clip counter without going over what is available in the reserve counter? I need to be able to take the ammo from the reserve counter of available ammo up to 60 and put it into the ammo clip counter.

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Upon pressing R:
    -> Start loop "reload" 60 times

    On loop "reload"
    + Clip counter < 60
    + Reserve counter > 0
    -> Add 1 to Clip counter
    -> Subtract 1 from Reserve counter
    Attached files Attached files

  3. #3
    No Products Registered

    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Appreciate it.

  4. #4
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, no problem. Nice graphics.

Similar Threads

  1. Counter bug?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 28th May 2012, 03:44 PM
  2. Adding Half a Counter's Value to Another Counter
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th June 2010, 10:30 AM
  3. Counter value?
    By Keli in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th November 2008, 08:36 PM
  4. Counter Help
    By noodles in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 3rd September 2008, 10:54 PM
  5. Counter Help
    By spiderjjr45 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th August 2008, 02:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •