Changing Attributes

Still working on my card game. Stuck again. Initially I have 5 actor cards spawned with a timer so 5 cards are dealt out. What I want is, after the 5 cards are dealt, I want to touch the deal deck and have only one card spawned at a time. What keeps on happening, is no matter what...5 cards spawn every time I touch the deal deck. Any help would be greatly appreciated.

I would have thought, after the 5 cards are dealt, change attribute to something like: game.cardsdealt to true, then if game.cardsdealt is true spawn the 6th card. Just does not work. Thanx.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Hard to give an answer without seeing how you've set up your logic. Can you post a picture and or description on how you've set it up?

  • haytr01haytr01 Member Posts: 1

    http://s857.photobucket.com/user/designdesigns/media/scrn2.png.html
    This image shows the card revealed moving to a new location.

    http://s857.photobucket.com/user/designdesigns/media/scrn1.png.html
    This image is the deck, when pressed I have 5 cards are spawned, e.g spawn actor card1, timer after 0.5, spawn actor card2, timer after 1.0 spawn actor card 3 etc. Every card is a random card from the 52 card deck.

    • after 5 cards, I do not want the timer anymore, nor do I want 5 cards to be dealt, instead I would only like one card for every time I press the deck actor.

    Sorry, I do know this may be hard to interpret, Thank you.

Sign In or Register to comment.