Remove object from array after it got haunted

I’m trying to make some items haunted and after an item get haunted i want it to remove from the array so the same object wont be selected again .

Setup is like this

The problem is, you’re calling the GET 3 times

and each time, you’re getting a different random int.

If put the int in a variable ( so its fixed ) and the do the rest of the code, it will stay the same.

1 Like