playMaker

Author Topic: Pool Manager How to spawn multiple Prefabs  (Read 2929 times)

jgalvezpa

  • Junior Playmaker
  • **
  • Posts: 58
Pool Manager How to spawn multiple Prefabs
« on: July 09, 2013, 03:30:27 AM »
Hello i'm using pool manager to spawn my prefabs, i created the pool and everything so in the FSM i use the Pmt Spawn action  i put the Pool Name and i have to choose just one prefab from my spawn pool, how can i do if want to spawn multiple prefabs at once?

« Last Edit: July 09, 2013, 03:32:16 AM by jgalvezpa »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Pool Manager How to spawn multiple Prefabs
« Reply #1 on: July 09, 2013, 07:48:18 AM »
Hi,

 I am not aware of any built in system for that in Pool Manager. Maybe you can inquire on their forum or contact them directly. If indeed there is a way, I'll implement it  in playmaker.

 for now, I would simply loop using the generic iterate custom action.

http://hutonggames.com/playmakerforum/index.php?topic=2081.msg9151#msg9151

Be careful not to hit the infinite loop threshold, you can increased that value of course.

bye,

 Jean

jgalvezpa

  • Junior Playmaker
  • **
  • Posts: 58
Re: Pool Manager How to spawn multiple Prefabs
« Reply #2 on: July 09, 2013, 02:20:14 PM »
What i want to do is when the game start different game objects spawn in my screen not just one object, the Pmt Spawn only allow me one object, so pool manager cannot handle that?
i'm gonna try smartpool

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Pool Manager How to spawn multiple Prefabs
« Reply #3 on: July 10, 2013, 05:53:56 AM »
Hi,

 I have contacted Path-o-logical, We'll see if he has something indeed on that matter. Else yes, maybe another pool framework allows for batch spawning.

bye,

 Jean

jgalvezpa

  • Junior Playmaker
  • **
  • Posts: 58
Re: Pool Manager How to spawn multiple Prefabs
« Reply #4 on: July 10, 2013, 08:29:18 AM »
It is not necessary anymore i solved it, thanks anyway

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Pool Manager How to spawn multiple Prefabs
« Reply #5 on: July 10, 2013, 08:50:44 AM »
Hi,

 Great!

 Can you share how you managed? maybe other will bumped into the same needs.

bye,

 Jean

jgalvezpa

  • Junior Playmaker
  • **
  • Posts: 58
Re: Pool Manager How to spawn multiple Prefabs
« Reply #6 on: July 10, 2013, 06:39:01 PM »
the solution is easy if you want to spawn multiple prefabs at once just parent it and just drag it in the pool manager prefabs options and you are  ready to go.