playMaker

Author Topic: int range switch still available?  (Read 1373 times)

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 37
int range switch still available?
« on: March 16, 2018, 01:41:10 PM »
Hi,

I am try to do something like sending an event between 2 and 5 in a number.  How can I do it?  Is there something I can do with the regular actions?


Does playmaker has the "int range switch"?  I cannot find it in playmaker..

thanks.

KC
« Last Edit: March 16, 2018, 05:53:50 PM by kentcheung2000 »

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Re: int range switch still available?
« Reply #1 on: March 16, 2018, 07:20:57 PM »
The one in the video is a custom action, not included in playmaker out of the box.

You could use Random Int, set it between 2 and 5 and then run that int through an Int Switch, which will send an event in that range.

Random Event Action is handy too.
« Last Edit: March 16, 2018, 07:27:46 PM by Sarcophagav »

kentcheung2000

  • Playmaker Newbie
  • *
  • Posts: 37
Re: int range switch still available?
« Reply #2 on: March 16, 2018, 08:16:59 PM »
Thank you so much for your reply.  I am wondering can I do the same thing with "float number" if my number is float?

Thanks.

KC

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Re: int range switch still available?
« Reply #3 on: March 16, 2018, 08:47:47 PM »
Yep! Random Float and Float Switch.