08.01.2015, 19:33
Your map loads all at once if you use CreateObject.
CreateDynamicObject is for streaming (object load as you get close to them).
Do you understand the parameters of a streamed object? Streaming Distance and Drawing Distance can be set. You can basically set both of them to 3000 and have the hole map loaded when you approach less than 3 km.
CreateObject becomes ineffective for complex maps, because a server cannot hold more than 1000 objects at once (the client will crash).
I'll point out a reference to my Blake Island (the link is in my signature). If you download the script you should see that I have defined those distances as constants at the beginning. Instead of putting the values to each object, you can place those constants to each object. It makes testing a lot easier, since you will only have to set each of them once.
I'll monitor this topic. Feel free to ask any questions
CreateDynamicObject is for streaming (object load as you get close to them).
Do you understand the parameters of a streamed object? Streaming Distance and Drawing Distance can be set. You can basically set both of them to 3000 and have the hole map loaded when you approach less than 3 km.
CreateObject becomes ineffective for complex maps, because a server cannot hold more than 1000 objects at once (the client will crash).
I'll point out a reference to my Blake Island (the link is in my signature). If you download the script you should see that I have defined those distances as constants at the beginning. Instead of putting the values to each object, you can place those constants to each object. It makes testing a lot easier, since you will only have to set each of them once.
I'll monitor this topic. Feel free to ask any questions