Random Spawning

TJMNUTTJMNUT Member Posts: 236
edited November -1 in Working with GS (Mac)
I'm making a game that includes apples rapidly and randomly growing on a tree. I added an integer attribute, added an actor to the portion of the tree I want them to appear on, added a timer so that every 1.5 seconds change attribute, game.attribute, random 1,3. I added a rule so that when game.attribute=1 spawn apple actor relative to scene, and added random position, then unchecked visibility all on that actor. However, when I pressed preview, 1.5 seconds passed, and nothing happened. Please help me!

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    well if u unchecked visibilty your not gonna see it
  • TJMNUTTJMNUT Member Posts: 236
    then how can i get the actor to not show up, but keep the images visible
  • TJMNUTTJMNUT Member Posts: 236
    TShirtBooth, I used your random spawning in random locations for this, can you help me if you see this
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    what are u asking? Like i said if visibilys unchecked in the actor ur spawning, then obviously your not gonna see it. Why are u unchecking it
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    also you have it so evevery 1.5 second change attribute to random 1,3 , and you only have a spawn rule for when that attribute equals 1. So if after 1.5 seconds the attribute changes to 2 or 3 and not one, its not gonna spawn anything either at that time
  • TJMNUTTJMNUT Member Posts: 236
    No, I unchecked visibility to the actor that spawns it, not the actor getting spawned. I did the =2 =3 thing, but I just didn't want to repeat myself. Check out this video, and you might understand what I mean
  • TJMNUTTJMNUT Member Posts: 236
    wait, does spawning work if the spawner is on the section that I want the objects to spawn on, because if not, I'm really messing myself up here.
Sign In or Register to comment.