ID:169728
May 8 2005, 6:40 am
|
|
How do I make it so when you talk to the spawn point man he will change your location to that point,and when you die it will take you to that point.
|
In response to XxDragonFlarexX
|
|
Why not just do
mob I do believe that is more efficient. |
In response to ITG Master
|
|
ITG Master wrote:
I do believe that is more efficient. And so it is, though that is more problematic. Suppose you implement saving, and the player decides to leave then come back, as they all eventually do. When you come back, the reference to the object will be lost. Of course, you can alter the Read and Write functions to save the coordinates of the spawn location instead of the reference to the object itself, but then it is back on par with the code you replied to and thus does not matter. So yes, it is more efficient; but only assuming there is no saving. |
That should work.