playMaker

Author Topic: How to do "Less than or equal to" int compare every frame?  (Read 1461 times)

indeed

  • Junior Playmaker
  • **
  • Posts: 85
How to do "Less than or equal to" int compare every frame?
« on: March 10, 2015, 05:48:22 PM »
Hi, I have a variable and every frame I want to check if it is greater than 0, or less than 5. Not sure how to do this

I searched through the forums and found one solution that involved stacking "compare" actions in a single state and sending a "fail" event as it moves down the stack, however I need to constantly check this every frame, and creating an event/state just for "Fail" would cause a loop-limit overload.