User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Inbetween values

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Inbetween values

    Is there a way in the expression editor to pick between numbers? Example: "when value A = 1 through 5" Destroy object

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    Yes check out the wiki about random numbers in a range.
    http://www.erathean.com/mmfwiki/index.ph...a_certain_range

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    no, not random numbers. I want it so if "value A = 1,2,3,4, or 5" destroy an object.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    You can compare the value to greater then equal to 1 and less then equal to 5, by using compare two general values. That should give the result you want.

  5. #5
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    Probably something like:

    Alterable Value A of "whatever" >= 1
    + Alterable Value A of "whatever" <= 5
    --> Destroy "Object"

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    Yes...like that <img src="/center/images/graemlins/wink.gif" alt="" />

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    []Probably something like:

    Alterable Value A of "whatever" &gt;= 1
    + Alterable Value A of "whatever" &lt;= 5
    --&gt; Destroy "Object" [/]

    Hes talking about the "expression editor". But i don't think there is any otherway than that.

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    ok... I see... this could be made by an extension i suppose... Does anyone know how to retrieve object data in c++??

  9. #9
    No Products Registered

    Join Date
    Aug 2006
    Location
    Spryfield, Nova Scotia, Canada
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    I actually think that the alterable value thing is probably easier. Fix your problem and keep the process of assembling flowing.

  10. #10
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Inbetween values

    []I actually think that the alterable value thing is probably easier. Fix your problem and keep the process of assembling flowing. [/]
    I fully agree... I was just wondering since I was planning on making an extension with mixed functions... Including a clamp function...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. Player movement - inbetween animation
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st September 2008, 08:50 PM
  3. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  4. Negative values in a List, and Global Values
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th January 2007, 06:08 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
  •