User Tag List

Results 1 to 4 of 4

Thread: make string say " you got (counter xx's value)

  1. #1
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    make string say " you got (counter xx's value)

    i'm doing a game in which when you kill all the baddies, a string shows up saying how much money you got.
    i tried this:
    ""YOU WIN! You got value( "Counter 12" )""
    but it just says syntax error. so it only works if i make it like this:
    ""YOU WIN! You got"
    which is not the point. it doesn't need to done now, but it would be great if it was answered asap.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    "YOU WIN! You got " + str$(value( "Counter 12" )) + " coins"

  3. #3
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's excellent, thanks popcorn!

  4. #4
    No Products Registered

    Join Date
    Nov 2014
    Location
    Ohio
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much! You just helped me a ton. I didn't know how to call numbers into a string, I wasted so many hours trying to fight with it and just couldn't figure it out. Thanks! I am creating a little test project that will be a game with an online leaderboard. I wanted to tell a certain edit box to always be the same as the score, since that edit box is what will be sending the score to my server. I appreciate the post.

Similar Threads

  1. Replies: 6
    Last Post: 18th August 2015, 02:23 AM
  2. Set edit box text to string$("string object") causes long delay
    By MJK in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 22nd August 2012, 02:58 PM
  3. how to make counter display "+"
    By SolarB in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th August 2012, 06:08 PM
  4. Counter en mode "texte" et alignements?
    By Ronan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st February 2012, 02:00 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
  •