User Tag List

Results 1 to 3 of 3

Thread: Get Alt Vals and Strings from other Alt Vals and Strings

  1. #1
    Clicker Fusion 2.5
    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)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get Alt Vals and Strings from other Alt Vals and Strings

    This might sound confusing from the title but it isn't, bear with me.

    I have a couple of buttons in a group (neutral) and these buttons will be question buttons.

    Each button has the following Alt Vals and Alt Strings:

    Alterable Value A = Answer
    Altrable String A = ValueToTest

    I also have a number of Active Objects in the group.good. These objects all have the same number of Alterable Values (12) and each one is the answer to a specific question.

    What I am hoping to achieve is a system where by i provide each button with the question when i create it. For example:

    Button A has the following setup
    Answer = 1
    ValueToTest = B

    What i want to do is this:

    Group.Neutral is pressed

    Check Group.Good Alterable Value(group.neutral Alterable String A) is different to (group.neutral Alterable Value A)

    Does any of this make any sense? I can't think of any other way to write it.

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    I think I might know what you mean, but I'm not really awake right now, so I might not...

    You can get an alterable value by its index: AltValN( "Active", > Enter value here <)

    eg. AltValN( "Active", 2) is the same as Alterable Value C("Active")
    (I haven't checked, but I'm assuming it's 0-based)

    Similarly, when you're setting a value (rather than retrieving it), you can use the "use expression" button, instead of picking one from the dropdown list.

  3. #3
    Clicker Fusion 2.5
    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)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perfect! I had to tweak the buttons to get this to work but it does. Thanks again Sketchy. I have seen your other post, on my other question, but i have not had time to look at it yet.

Similar Threads

  1. Selecting Multiple Objects by Alt Vals
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st December 2013, 05:43 AM
  2. Beta 2: BUGS: Global vals, End App, button drawing
    By Simon in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 12th October 2010, 02:16 PM
  3. unknown letters and numbers compare two vals?
    By bubba_damage in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 8th October 2010, 10:02 PM
  4. [Request] Glob.Vals with Initial, Min + Max Values
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 9th March 2008, 11:47 AM
  5. [Bug]Custom Alt Vals for an Object
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 28th December 2007, 11:21 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
  •