Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: gsmetzer on July 11, 2014, 03:40:44 PM

Title: Range Event Trigger
Post by: gsmetzer 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
Title: Re: Range Event Trigger
Post by: Alex Chouls 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