playMaker

Author Topic: i am having a problem using set fsm array item  (Read 2470 times)

strange_aeons

  • Junior Playmaker
  • **
  • Posts: 62
i am having a problem using set fsm array item
« on: June 19, 2016, 04:36:29 AM »
i have an array which stores integer variables and i use Get FSM Array Item to retrieve the value, which i then subtract a number from that value and need to complete by returning the new value to the array. where this subtraction is taking place is on another object, and when i run this, the value returned is wrong and consistently get a result of 2 - 1 = 0. returning the value using Set FSM Int shows the correct result of 1, so i suspect that something is going wrong in the Set FSM Array Item action. does anyone else experience this problem?

edit: it seems that any number i pass thru the Set FSN Array Item results in 0
« Last Edit: June 19, 2016, 04:41:46 AM by strange_aeons »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: i am having a problem using set fsm array item
« Reply #1 on: June 19, 2016, 08:45:05 AM »
Hi,
I confirmed this,

Set FSM Array seems to be broken.

it only seems to work when checking Every Frame on the "set fsm array item"

i will make a bug report.

strange_aeons

  • Junior Playmaker
  • **
  • Posts: 62
Re: i am having a problem using set fsm array item
« Reply #2 on: June 19, 2016, 10:19:32 AM »
thanks for checkin it dude, thats good to know that its buggered, i'll work out another way to get that array updated in the meantime.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn