playMaker

Author Topic: Store float add result in a new variable [SOLVED]  (Read 615 times)

TrueSoSense

  • Playmaker Newbie
  • *
  • Posts: 17
Store float add result in a new variable [SOLVED]
« on: January 19, 2022, 03:43:17 PM »
Hello, i want to add a number to a float, then store the result in another variable, how can i do this ?
« Last Edit: January 21, 2022, 10:52:43 AM by TrueSoSense »

Twood

  • Junior Playmaker
  • **
  • Posts: 76
Re: Store float add result in a new variable
« Reply #1 on: January 19, 2022, 07:59:45 PM »
Just use Set Float Value on your new variable and set it to be the added variable.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Store float add result in a new variable
« Reply #2 on: January 19, 2022, 09:21:57 PM »
Hi.
If on a different fsm use Set Fsm Float

edufurla

  • Junior Playmaker
  • **
  • Posts: 56
Re: Store float add result in a new variable
« Reply #3 on: January 20, 2022, 07:28:22 AM »
In that case, I usually use Float Operator instead of Float Add.

TrueSoSense

  • Playmaker Newbie
  • *
  • Posts: 17
Re: Store float add result in a new variable
« Reply #4 on: January 21, 2022, 10:52:17 AM »
Thanks ! I will use float operator.