Posted By
|
Message
|
Chris Burrows
Registered 14/09/2002
Points 2396
|
15th September, 2011 at 13:18:39 -
I understand the OR (logical) and OR (filtered) conditions, but I am after a different kind of OR.
Is it possible, in an event, to have something like this:
Spacebar is pressed
Ammo>0
Text="Handgun" OR Text="Shotgun"
So the event would read true when "Spacebar is pressed" AND "Ammo is greater than 0" AND EITHER "Text is equal to Handgun" OR "Text is equal to Shotgun"
This would be the same as:
Spacebar is pressed
Ammo>0
Text="Handgun"
OR
Spacebar is pressed
Ammo>0
Text="Shotgun"
But with less conditions. Anybody know? Cheers!
n/a
|
Sketchy Cornwall UK
Registered 06/11/2004
Points 1971
|
15th September, 2011 at 16:13:16 -
Generally speaking, no - because MMF2 doesn't support nested ORs.
In some cases, you could use the "bitwise helper" or "boolean object" extensions, but it probably wouldn't be worth the effort.
n/a
|
Chris Burrows
Registered 14/09/2002
Points 2396
|
15th September, 2011 at 16:20:15 -
I see. Thanks Sketchy!
n/a
|
Chris Burrows
Registered 14/09/2002
Points 2396
|
15th September, 2011 at 16:20:22 -
I see. Thanks Sketchy!
n/a
|
|
|