Hi,

I working in a system to spawn some NPCS in a random location, i have a doubt about how to work. For the first version i have a Array of locations for spawn (for example 1000 entrys) in the C# code and my doubt is what is the best way, the array of locations with a lot of entrys or XML file with the locations.
What is the best for performance?

And the problem with the XML file is... now i don't know how to make a GM Command to add location to a specific XML file and later, this XML is used to the system to get random location.

Thanks
 
Back