User Tag List

Results 1 to 6 of 6

Thread: Help with the IfElse nest object

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Location
    Uruguay
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with the IfElse nest object

    Hi all... I'm not sure if this is the right place to post this, but here it goes...
    I'm trying the IfElse nest Object, but I can't understand how to use it...

    Is there any working example that uses this object to create some kind of complex boolean expresion?

    Thanks in advance!

    - Haora

  2. #2
    No Products Registered

    Join Date
    Oct 2006
    Location
    Uruguay
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with the IfElse nest object

    Noone knows this extension???
    How do you create If's in MMF2 without it??

  3. #3
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Help with the IfElse nest object

    Every statement in MMF is like an if

    I have not needed (or ever used) the IfElse object to do anything but it might provide some shortcuts. I am not sure. I am pretty sure you can do anything it can do without it but it may require a few more events.

  4. #4
    No Products Registered

    Join Date
    Oct 2006
    Location
    Uruguay
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with the IfElse nest object

    Ok, how would you do something like this then?

    If (playerX < 30 AND playerY > 30) OR (playerX == 30)

    Thanks for the help!

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Help with the IfElse nest object

    You could do that in 2 events

    One event with 2 conditions
    playerX < 30
    +
    Playery > 30
    (then do whatever actions you want)

    Another event with
    playerX = 30
    (then do whatever actions you want)

    Now if you need only one of those to be executed (in case both might be true at the same time) I might put them into a group or set a flag and test it.

    Depends on what I am doing.

    Now with that,

    When I get a chance later today - I will look at the IFElse object and see how it works and make you an example. It does reduce the eventing and would be eaiser if it works as advertised

  6. #6
    No Products Registered

    Join Date
    Oct 2006
    Location
    Uruguay
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with the IfElse nest object

    Great! Thanks for the help!
    If you find out how to use that extension, please let me know!

    Thanks again!

Posting Permissions

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