Spawn Actor Problem

EthanCEthanC Member Posts: 6
edited November -1 in Working with GS (Mac)
This is my current situation, If I were to preview the scene that contains the spawn actor behavior everything works the way it's suppose to. But if I were to preview starting at the beginning scene and switch to the scene with the spawn actor, then this is when the problem occurs.

Specifically this is what is supposed to happen: 6 actors spawn based on an attribute that if less than 6 it continues to spawn actors until it equals 6 and then stops spawning actors.

This is my problem and isn't supposed to happen: Only 4 actors spawn instead of the desired 6.

Any help would be greatly appreciated.

Comments

  • mangaroomangaroo Member Posts: 419
    at the menu screen just set attribute to 0 ?
  • EthanCEthanC Member Posts: 6
    By default it's set to 0, so it cannot be that. I change the attribute to 6 to set how many actors I desire.
  • mangaroomangaroo Member Posts: 419
    exactly so i dont see why else it wouldn't spawn 6 instead of 4 unless it thinks it is at a different number than 0 to begin with...perhaps it is not resetting, have you tried adding the change attribute at the menu screen?

    how did you get it to add up to 6?
  • EthanCEthanC Member Posts: 6
    I haven't tried adding the change attribute to the main menu, I will try that now. And I have it set so every time the actor I want spawns it does a +1 to another attribute.

    then I have it check to see if the two attributes match and once it does, it stops spawning the actors.
  • mangaroomangaroo Member Posts: 419
    ok let me know, also the two attributes - do you mean spawncount = 6? what else?
Sign In or Register to comment.