playMaker

Author Topic: Negative ABS  (Read 1869 times)

Mupp

  • Full Member
  • ***
  • Posts: 167
Negative ABS
« on: December 03, 2019, 09:22:55 AM »
No really required but it would be nice to have a checkbox in the ABS actions to set the value to negative. Saves the work of adding one whole extra action to the state.  ;D

And having the option to choose which variable to save the result in would be nice.
« Last Edit: December 03, 2019, 09:33:13 AM by Mupp »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Negative ABS
« Reply #1 on: December 04, 2019, 01:06:24 AM »
Hi,

Please heck out FloatAbsAdvanced on the ecosystem, it will give you a multiplier, set to to -1, and done.

 the action also got the advanced treatment where you can select when to execute, ( update, late, fixed).

 Let me know if it works for you.

Bye,

 Jean

Mupp

  • Full Member
  • ***
  • Posts: 167
Re: Negative ABS
« Reply #2 on: December 04, 2019, 09:38:10 AM »
I actually did a search for ABS and negative but I found nothing. It's really easy to not find what you are looking for unless you type it exactly so I missed it. Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Negative ABS
« Reply #3 on: December 05, 2019, 06:26:20 AM »
Hi,

 yes, I agree... there is not real other way then text based search, and so you can only search by text inside the script itself.  I improved the search by adding keywords in the script comments, abs should work.

search for FloatAbsAdvanced otherwise to be sure.


Bye,

 Jean