Cards Game posted by anonymous | blueprintUE | PasteBin For Unreal Engine here is the code I’m using to give the player a 3 cards to his hands that already exists in the world and in the array so for some reason the card that gets teleported is not the same as the one that gets deleted from the deck can someone help me please?
It’s this:
Every time a pure node is evaluated (here, twice), a new result is generated. You Teleport
one random Card, then Remove
another random. It’s a common trap. To dramatically simplify the concept:
The chances we print the exact same random number twice are slim since we randomise twice.
Store the result of the generation in a variable. Then use the result x times.
Thank you so much it worked !
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.