ID:159901
 
I was wondering how I could make the game load an item if its not in the world.contents and not in world.

Here's an example:

Player 1 finds a shiny object.
Player 1 logs out..

World searches..
World finds Dusty Object..okays it that its still in the world or in someones inventory that is online..

World searches for shiny object..
World doesn't find it online..
World spawns a shiny object.


I don't really see a purpose in this at all. Why not having it so when the object is picked up, the duplicate goes in your inventory and still stays there for others to get? Then you could also make it so you can only pick it up once unless you loose it or something to that effect.
In response to DisturbedSixx
Purpose: It prevents players from stealing randomly generated items that do have a purpose when 4 of them are gathered together.
In response to Rikishi
How about recycling the object by simply relocating it?
In response to Schnitzelnagler
Well see it randomly loads by the code when the host starts to host it.
In response to Rikishi
I'm sorry, I did not understand what you meant to say.
In response to Schnitzelnagler
The objects are not preloaded onto the map, they only load once the host starts the game and are loaded in a random location.