User Tag List

Results 1 to 2 of 2

Thread: AssArray and expression editor

  1. #1
    No Products Registered

    Join Date
    Apr 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AssArray and expression editor

    Hello,

    In my game I always check if certain key in AssArray is exists. the problem is: I can't know the key name (because a lot of reasons).
    so I want to write in expression editor to check if the key that consists of the word "answer" and the current value of "Global value A" is exists (so, fo example, it will need to check if the key "answer 6" or "answer 5" - according to the current value of "Global value A"- is exists).

    the big problem - I don't know what I need to write in expression editor. all the expressions that I wrote were wrong.

    thank you for your help (and I'm sorry about my bad English).

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AssArray and expression editor

    You have to convert a number into a string with str$() before you can add it to another string (i.e. "answer")

    So what you want is "answer " + str$(Global Value A)

Similar Threads

  1. Val vs. Value (expression editor)
    By Pineapple in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th December 2013, 06:19 PM
  2. Using Log in the expression editor.
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th November 2010, 03:44 PM
  3. Expression Editor and Icon Editor
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th September 2008, 01:21 AM
  4. Expression Editor
    By Kid_Roleplay in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 27th October 2006, 11:34 PM

Posting Permissions

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