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
Re: Help with the IfElse nest object
Noone knows this extension???
How do you create If's in MMF2 without it??
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.
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!
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 :)
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! :D
Thanks again! :D