playMaker

Author Topic: "Set FSM Int" et "Set Int Value"  (Read 1428 times)

stigma

  • Full Member
  • ***
  • Posts: 176
"Set FSM Int" et "Set Int Value"
« on: September 25, 2019, 05:30:51 PM »
what is the difference between "Set FSM Int" and "Set Int Value"?
Thank you

Athin

  • Full Member
  • ***
  • Posts: 163
Re: "Set FSM Int" et "Set Int Value"
« Reply #1 on: September 25, 2019, 08:32:53 PM »
Heya,

Set FSM Int has the ability to change other FSM Int values while Set Int Value can only change the value of the FSM its in.

stigma

  • Full Member
  • ***
  • Posts: 176
Re: "Set FSM Int" et "Set Int Value"
« Reply #2 on: September 26, 2019, 03:51:24 AM »
when I want to change the value of a global variable, Set FSM Int does not always work but Set Int Value works fine. I wanted to know why.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: "Set FSM Int" et "Set Int Value"
« Reply #3 on: September 26, 2019, 03:58:51 AM »
Hi.
Set FSM int is looking for a fsm and should not be used for globals.

just a reminder always try to minimize using globals :)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: "Set FSM Int" et "Set Int Value"
« Reply #4 on: September 30, 2019, 06:26:25 AM »
That's... anti-globalist.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: "Set FSM Int" et "Set Int Value"
« Reply #5 on: October 15, 2019, 08:54:33 AM »
 :o

nice one!