Hello great and knowledgeable SC2Mapster Community. I'm hopeful someone can help me get this set up, I want to set each of player 1's 34 Cards to a Draw Order of 1st card Drawed, 2nd, 3rd, 34th to be random. The problem is using the Method below it can set 28th Draw and 33rd Draw to be the same card that will be drawn.
- Actions
General - Pick each integer from 1 to 34, and do (Actions)
Actions
Variable - Modify Player 1's Draw Order Numbers[(Picked integer)]: + (Random integer between 1 and 34)
Then i tried to set it up like this:
- Actions
General - Pick each integer from 1 to 34, and do (Actions)
Actions
Variable - Modify Player 1's Draw Order Numbers[(Random integer between 1 and 34)]: + (Picked integer)
Problem with my Second method is while it didn't reuse the same card Number, it now skipped setting some of the Cards to be Drawn.
Thanks for reading this I hope I broke it up neatly, and Thank you very much if you have ideas to solve.
My Projects:
Sorted Multiplayer Leader Board
Card Shuffle Dialog Demo
Air Wars Mass
Blizzard Fan since Starcraft. The Single Player story is AMAZING IMO, I can't wait for the Expansions. In Warcraft 3 I only enjoy the Custom Maps scene (& Blizzards...
My Projects:
Sorted Multiplayer Leader Board
Card Shuffle Dialog Demo
Air Wars Mass
Blizzard Fan since Starcraft. The Single Player story is AMAZING IMO, I can't wait for the Expansions. In Warcraft 3 I only enjoy the Custom Maps scene (& Blizzards...
To post a comment, please login or register a new account.
Hello great and knowledgeable SC2Mapster Community. I'm hopeful someone can help me get this set up, I want to set each of player 1's 34 Cards to a Draw Order of 1st card Drawed, 2nd, 3rd, 34th to be random. The problem is using the Method below it can set 28th Draw and 33rd Draw to be the same card that will be drawn.
- Actions General - Pick each integer from 1 to 34, and do (Actions) Actions
Variable - Modify Player 1's Draw Order Numbers[(Picked integer)]: + (Random integer between 1 and 34)
Then i tried to set it up like this:
- Actions General - Pick each integer from 1 to 34, and do (Actions) Actions
Variable - Modify Player 1's Draw Order Numbers[(Random integer between 1 and 34)]: + (Picked integer)
Problem with my Second method is while it didn't reuse the same card Number, it now skipped setting some of the Cards to be Drawn. Thanks for reading this I hope I broke it up neatly, and Thank you very much if you have ideas to solve.
if i'm correct (because it's confusing) you have similar problem like in this thread
Solved thanks to forum search, Link that Solved for me: http://www.sc2mapster.com/forums/development/triggers/9790-shuffling-cards/ Thanks for the Help guys.