How would i make randomized exit points in a game?

Im trying to have 4 exit points that will randomly be selected to be active kinda like Escape From Tarkov so my player has to find which one is the right one. How would i make a script that will choose a random exit point and make that one the active exit? Should i give them all ID’s 1-4 and have a variable containing a randomly selected number 1-4 then iterate through the exit’s id’s to see which ID matches the randomly selected variable number?

Well in my opinion I don’t see why your idea wouldn’t work. it’s super simple and effective, for more randomness you could check if last number is not the next number. Go for it man!

Stick the class that represents your exits in an array and then randomly pick an index of the array.