playMaker

Author Topic: Poolmanager question  (Read 1738 times)

gamedivision

  • Full Member
  • ***
  • Posts: 227
Poolmanager question
« on: February 26, 2014, 07:39:41 PM »
Is there someway of spawning a random game object from poolmanager,I'll add 4 cubes 1 red,1white, 1blue,1yellow I would like to be able to randomly spawn one of those cubes,in the poolmanager actions I don't see random spawn

Thanks

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: Poolmanager question
« Reply #1 on: February 26, 2014, 07:50:00 PM »
You could do something where you have an FSM with a Random INT action, then INT compare to the number it picks. Assign each Game Object a corresponding INT, then have it randomly pick one of those numbers with a corresponding spawn game object action.