Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: strange_aeons on June 19, 2016, 04:36:29 AM

Title: i am having a problem using set fsm array item
Post by: strange_aeons 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
Title: Re: i am having a problem using set fsm array item
Post by: djaydino 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.
Title: Re: i am having a problem using set fsm array item
Post by: strange_aeons 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.
Title: Re: i am having a problem using set fsm array item
Post by: Alex Chouls on June 19, 2016, 12:32:30 PM
Please try the bug fix here:
http://hutonggames.com/playmakerforum/index.php?topic=13039.msg60835