playMaker

Author Topic: Spawnding random object?  (Read 1879 times)

RC

  • Full Member
  • ***
  • Posts: 148
Spawnding random object?
« on: September 06, 2014, 05:46:49 PM »
So I'm trying to make a pool manager, but I'm having issue.
This is the problem, Ive made an enemies pool manager, with 4 game object as child, child all deactivated.
Enemies spawner would spawn 4 of the object as expected but than it doesn't respawn anymore?


 
state1 :
select random object " Chose 4 game object and store in Random Object variable"
Activate Game Object " Random Object variable"
Set Position.

State2: Wait 2 Sec.

After the enemies pass the player, it deactivate itself.

thank you.


« Last Edit: September 06, 2014, 05:48:55 PM by rongconcrx »

RC

  • Full Member
  • ***
  • Posts: 148
Re: Spawnding random object?
« Reply #1 on: September 06, 2014, 07:47:02 PM »
Solve it, I didn't select random game object in set position.
That's why It didn't spawn, because it couldn't match the position to the object that is active.

 :o