Help with tables

boredaholicboredaholic Member Posts: 47
edited October 2012 in Working with GS (Mac)
So i have a project where i'm spawning an actor and i'm using tables to have specific spawn points. When the actor spawns it takes that spot out with "remove row". After so long the actor gets destroyed. How do i get it to where when the actor get's destroyed the row comes back available? right now its where when the row get's removed the actor wont spawn at that point again because the row get's removed. I need to add it back... i'm confused on how to do this. Any ideas?

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited October 2012
    Instead of remove row you could make a new column (boolean) and change it to true when spawned and then false when destroyed and work your rules around the boolean?

    Darren.
  • boredaholicboredaholic Member Posts: 47
    How would i do that? i used tshirtbooths tutorial on tables... how would i work it through a boolean? i know it would be using boolean instead of index but is it self explanatory? i'll look at it. but feedback on how to do it would be nice too :) thanks for the quick reply
  • UtopianGamesUtopianGames Member Posts: 5,692
    See our free tables template as it might help.

    http://www.deepblueapps.com/collisions-with-tables-template/

    Darren.
  • boredaholicboredaholic Member Posts: 47
    Okay, another quick question though, i'm trying to get my new graphic in the project file and it wont drag and drop. Also i'm trying to add frames to my "animation" code and the images wont drag and drop there either. I've tried .png files and .psd files. Is there a specific file type i have to use?
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    edited October 2012
    Which GS version are you using now? Drag and drop from images that has been imported into your project should be working properly. unless you are talking about dragging images from outside the project right into your animate condition. PNG format is the recommended file type.
  • boredaholicboredaholic Member Posts: 47
    Yeah i figured that part out so the image portion of this post is answered already, BUT as for the boolean i haven't figured that out yet, working on that now. Thanks for the help everyone!
  • boredaholicboredaholic Member Posts: 47
    @UtopianGames Okay so i dont know what to do with the boolean thing even though i've got that template... a little help with it would be nice. It looks like a great template but i dont know what i'm looking at.
  • UtopianGamesUtopianGames Member Posts: 5,692
    Can you send me the project to toyboxuk[AT]hotmail.com and i will try and find time to look into it for you.

    Darren.
  • boredaholicboredaholic Member Posts: 47
    @UtopianGames Sorry i dont feel comfortable doing that. I guess i'll just look into it some other way then.
Sign In or Register to comment.