I'm trying to make items randomly spawn at the beginning of the game, does anyone know how to do it?
You might take some hints from my XWorld XActor Classes scenario. There are methods in the XWorld class that might be of interest that help in placing objects in a world.