having some problems with spawning
Hi all,
I am having trouble creating what I thought would be a simple scene (I am a beginner). Basically what I have is two actors on either side of the screen. They are cartoons of two people, one each side, .png files. I want words to spurt from the actor's mouth automatically. So, right now I just have one stand-in actor called 'words' to be spawned, and I was imagining that later I would add a bunch more. It is movable and set to drop much like a ball, if I were to drag it onto the scene myself.
In the person actor I have a timer that states that every 1 second the actor 'words' should be spawned on top of this 'leftperson' or 'rightperson' actor. However it is not working. Is there something I have missed? I've tried it with the person actors both movable and nonmovable. I've also tried it with a press of keyboard rule to spawn 'words' actor rather than a timer, so that it isn't automatic but interactive, but this doesn't work either, so is there something wrong with my actors? Does my 'words' actor need to be hiding on the scene somewhere before the spawning begins? Do my person actors need particular attributes for this to work?? I haven't added any custom attributes to anything.
So, essentially, when I preview the game, I simply see my two people actors, and nothing spawns.
Any tips? Is there a better way of making these words come out in a waterfall style effect from a particular spot other than 'spawn actor'?
Thank you!
I am having trouble creating what I thought would be a simple scene (I am a beginner). Basically what I have is two actors on either side of the screen. They are cartoons of two people, one each side, .png files. I want words to spurt from the actor's mouth automatically. So, right now I just have one stand-in actor called 'words' to be spawned, and I was imagining that later I would add a bunch more. It is movable and set to drop much like a ball, if I were to drag it onto the scene myself.
In the person actor I have a timer that states that every 1 second the actor 'words' should be spawned on top of this 'leftperson' or 'rightperson' actor. However it is not working. Is there something I have missed? I've tried it with the person actors both movable and nonmovable. I've also tried it with a press of keyboard rule to spawn 'words' actor rather than a timer, so that it isn't automatic but interactive, but this doesn't work either, so is there something wrong with my actors? Does my 'words' actor need to be hiding on the scene somewhere before the spawning begins? Do my person actors need particular attributes for this to work?? I haven't added any custom attributes to anything.
So, essentially, when I preview the game, I simply see my two people actors, and nothing spawns.
Any tips? Is there a better way of making these words come out in a waterfall style effect from a particular spot other than 'spawn actor'?
Thank you!
Comments
1. Add a Log Debugging Statement just before the spawn behavior and then open the Debugger window and see if the statement appears when you think it should be spawning the actors. If you see nothing, then that rule is not even triggering and there's a problem with your rule conditions or something else related to the spawner actor.
2. Check the size, color, and image of the prototype actor (the one in the actors' pane where you create new actors). This is what governs attributes for spawned actors. If you accidentally made the prototype actor very small, for example, or completely transparent, it wouldn't be visible (although step #1 above would still show that the rule was firing...).