Announcement

Collapse
No announcement yet.

Ensure No Repeat Values For Array Selection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ensure No Repeat Values For Array Selection

    I've set up an array like so:

    Click image for larger version

Name:	Replication.png
Views:	1
Size:	184.4 KB
ID:	1180691

    The value that is randomly chosen by the array goes into the spawn actor node and sets one of the variables equal to that. My question is: is there any way I could make this so that the array values that have already been chosen and are present on actors in the game are not chosen again? So I could essentially end up with 10 actors spawning that would each have a different variable value from the 10 possibilities in the array.

    Any help is appreciated!

    #2
    This should work reasonably well.

    Click image for larger version

Name:	Untitled.png
Views:	1
Size:	290.0 KB
ID:	1104936

    Comment


      #3
      Wow thank you very much!! I'll do that now.

      Comment

      Working...
      X