playMaker

Author Topic: How do I Test Float Within a Range?  (Read 2679 times)

Scottyboombotz

  • Playmaker Newbie
  • *
  • Posts: 9
How do I Test Float Within a Range?
« on: November 11, 2012, 06:05:44 PM »
Is there a way to test a float to see if its value is within a range? IE: Between 1 - 10. I know this is probably the easiest thing in the world but I can't figure out how to do it in Playmaker.

-Scott

Drunkenoodle

  • Playmaker Newbie
  • *
  • Posts: 25
Re: How do I Test Float Within a Range?
« Reply #1 on: November 12, 2012, 04:19:18 AM »
Hi mate,
Have a look in the Logic section of the Actions browser. There are a couple of options depending on what you want. In this instance for a float, you could use the float compare action, or even the float switch action.

Give me a shout if you would like some examples popping together. There may well be a better way to do this but er, hey. More the merrier right? :)

All the best!
« Last Edit: November 12, 2012, 04:25:40 AM by Drunkenoodle »