1
Ask a Question / I need helping help figuring out a behavior. Thank you!
« on: May 24, 2012, 04:50:47 pm »
I have been working on this behavior for the last several days and I just can't seem to make it work. The picture below is the latest version of what I have tried. It is attached to the Main Player in the Scene. I have tried about 5 other versions and they don't work either.
What I need:
-To spawn a new actor (with support for multiple actor types) in front of the Player when a Control is pressed
-For nothing to happen (or to have the Player "killed") if the Control is pressed too early, or not in the right region (I assume each "spawned actor" would have a region around it.)
This is supposed to be an "endless" or "arcade" type game where the Player is always moving. To get over randomly created "enemies" (like pits, boxes, monsters, etc) the player has to press the correct button to create a new actor type that will help him over/around the obstacle.
What I need:
-To spawn a new actor (with support for multiple actor types) in front of the Player when a Control is pressed
-For nothing to happen (or to have the Player "killed") if the Control is pressed too early, or not in the right region (I assume each "spawned actor" would have a region around it.)
This is supposed to be an "endless" or "arcade" type game where the Player is always moving. To get over randomly created "enemies" (like pits, boxes, monsters, etc) the player has to press the correct button to create a new actor type that will help him over/around the obstacle.