playMaker

Author Topic: Range Event Trigger  (Read 2215 times)

gsmetzer

  • Playmaker Newbie
  • *
  • Posts: 24
Range Event Trigger
« on: July 11, 2014, 03:40:44 PM »
I have a rotation that I want to trigger an event within a range (15-90) of the rotations angle.

It would be great to have a simple action that looked like this:

Float=(my rotation)
Range
Float: 15
Float: 90

If within range
goto EVENT
if out of range
goto EVENT

Thats it! It would be really simple and useful.
Thanks

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4002
  • Official Playmaker Support
    • LinkedIn
Re: Range Event Trigger
« Reply #1 on: July 12, 2014, 12:07:24 PM »
You can do basically that with the Float Switch action:
https://hutonggames.fogbugz.com/default.asp?W515