Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MattyWS on February 26, 2018, 08:12:52 AM

Title: Path-o-logic Pool manager spawning[SOLVED]
Post by: MattyWS 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. :(
Title: Re: Path-o-logic Pool manager spawning
Post by: 600 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
Title: Re: Path-o-logic Pool manager spawning
Post by: MattyWS 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!