playMaker

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

strange_aeons

  • Playmaker Newbie
  • *
  • Posts: 43
    • View Profile
i am having a problem using set fsm array item
« on: June 19, 2016, 01: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, 01:41:46 AM by strange_aeons »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2265
    • View Profile
    • jinxtergames
Re: i am having a problem using set fsm array item
« Reply #1 on: June 19, 2016, 05: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

  • Playmaker Newbie
  • *
  • Posts: 43
    • View Profile
Re: i am having a problem using set fsm array item
« Reply #2 on: June 19, 2016, 07: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: 3205
  • Official Playmaker Support
    • View Profile
    • LinkedIn