playMaker

Author Topic: Random Array Index repetition problem  (Read 1581 times)

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Random Array Index repetition problem
« on: January 29, 2016, 03:57:27 PM »
I recently started work again on a project using arraymaker actions.

https://db.tt/iUnn5mDK

When the player clicks on a cube, a majority of the time the same cube repeats up as oppose to moving on to the next randomly picked cube on a proxy list.

Don't understand why it does this. I did separate arraymaker actions for each state so it's structured the way it is by the following states in the managers FSM.

After the start state, it's like the following.

Array list count state > Array List Get random state > List Get Next + Iterate state> and the standard bool reset state as well as comparing add position and a separate negative int state(1 state for int and compare, the second for negative int values) so the sequence can reset itself after a sphere is created by a spawning fsm.

Why does this happen?






 

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: Random Array Index repetition problem
« Reply #1 on: February 04, 2016, 02:33:00 AM »
Bump!