User Tag List

Results 1 to 4 of 4

Thread: Putting values in strings

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2012
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Putting values in strings

    I have a global value named "Pies", and it's set to 8.

    I have a string object, and I want it to--at the start of the frame--have this alterable string:

    "I have 8 pies"

    And when playing the game, as I collect more pies, I want it to then say,

    "I have 9 pies", "I have 10 pies", ext.

    In other words; I want to put alterable values inside strings. But either that's not possible, or I'm not doing it right.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    without seeing your code, i'm not sure what you are doing, but am guessing you are not using the str$ command before using a number in a string
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Oct 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The str$() expression convert values to strings.
    Example : "I have "+str$(Global Value)+" pies." (mind the spaces)

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2012
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yippie, thanks, that worked!

Similar Threads

  1. Putting Strings in Text paragraphs
    By UltraHammer in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 3rd March 2013, 08:02 PM
  2. Alterable Values for strings?
    By Jase in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th October 2011, 10:12 PM
  3. Putting Strings over AVI object
    By NR9 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th July 2011, 03:27 AM
  4. Global Values and Strings
    By xXjbroXx in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 23rd April 2010, 12:05 AM
  5. Converting Values to Strings
    By Eliyahu in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th April 2009, 02:11 AM

Tags for this Thread

Posting Permissions

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