playMaker

Author Topic: Path-o-logic Pool manager spawning[SOLVED]  (Read 1510 times)

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Path-o-logic Pool manager spawning[SOLVED]
« on: February 26, 2018, 08:12:52 AM »
Hi,

I've used this many years ago but for the life of me now I can't seem to figure out how I went about it. Basically, I have my pool object in the scene that creates 100 of the the objects (a particle called StarHitParticle) and I want to use playmaker to spawn this particle, the idea is I have a star prefab, if it collides with the player it should spawn the particle and then kill it's self.

The issue I'm having is how Pmt spawn action works, it asks for a game object to spawn, but I cannot give it the game object until the game runs and the pool manager creates them. Am I missing something? I don't recall this issue before and I certainly used playmaker and the pool manager to my advantage, but have since lost the project I used it in so I cant take a look. :(
« Last Edit: February 27, 2018, 01:40:30 AM by jeanfabre »

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 715
    • Flashing Lights
Re: Path-o-logic Pool manager spawning
« Reply #1 on: February 26, 2018, 09:42:03 AM »
Hi, you need to drop the prefab object from assets folders in the Spawn action.
Check image in this post:
http://hutonggames.com/playmakerforum/index.php?topic=9080.msg43344#msg43344

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Re: Path-o-logic Pool manager spawning
« Reply #2 on: February 26, 2018, 12:05:36 PM »
Ok that seems to now magically work but I'm certain I wasn't doing anything different. :P Oh well, thank you!