playMaker

Author Topic: Add up value to Playmaker Variable[SOLVED]  (Read 1621 times)

zhevas

  • Playmaker Newbie
  • *
  • Posts: 14
Add up value to Playmaker Variable[SOLVED]
« on: November 08, 2016, 08:15:12 AM »
Hi guys,

I have a very simple question but don't know how to solve it

I have a Get Axis component pointing to the Mouse ScrollWheel, so When I hit play and scroll the wheel I get values from -0.4 to 0.4.

Then I have a Set Audio Pitch Component, which sets whatever value I have in Get Axis to that Audio Pitch

The thing is, I would like that scroll values to be whatever they are +1, so the default scroll wheel is 1 and not 0 and I always get some sound.


Helps in advance!

« Last Edit: November 09, 2016, 02:32:28 AM by jeanfabre »

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: Add up value to Playmaker Variable
« Reply #1 on: November 08, 2016, 08:24:41 AM »

zhevas

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Add up value to Playmaker Variable
« Reply #2 on: November 08, 2016, 08:26:52 AM »
THANKS A LOT! SOLVED!!!