Have some issues with this behavior

v00d0v00d0 Member Posts: 143
edited November -1 in Working with GS (Mac)
Hi Guys, before the release of my first game i decided to completely re-code it. After 1 month of working with game salad i understood some tricks that can speed up my game but i've a little problem there: i want my spawner to spawn an actor in a specified location but after, it don't have to spawn anymore actor in the same location if the actor previously spawned isn't been destroyed. but i'm setting something wrong:

http://i52.tinypic.com/k3ol95.png

at least i'm trying to do that:

if the random variable is 1 and talpa1 is true spawn the actor => when it spawned change talpa1 to false ( so no more actor will spawn there) => then when someone touch it change talpa1 back to true. but the touch rule don't work.

thanks everybody.

Comments

  • ShineyGamesShineyGames Member Posts: 157
    Hi
    Because TaLpa1 has been change back to False so that why the touch is not working
    Turn that change atTribuTe off (to test) and you will see the touch will work
  • ShineyGamesShineyGames Member Posts: 157
    You could setup a new rule if random is 1 and talpa1 is fale and touch is pressed change talpa1 to true
    Dont know if that helps
  • v00d0v00d0 Member Posts: 143
    good..i'll try
  • v00d0v00d0 Member Posts: 143
    random change every 1 second so i tried to remove it but it don't work aswell
  • v00d0v00d0 Member Posts: 143
    Anyone else can suggest me any opther way to do this?? I tried the one u saw up there the one suggested by ShineyGames and i tried to create 1 spawn and 9 actor with their own attribute, it work's but it's not clear and cool so anyone can give me some other idea??? Thanks a lot
  • v00d0v00d0 Member Posts: 143
    up
Sign In or Register to comment.