Hello OTland community.
I recently developed a script, which allows the server to create a private area (a personal dungeon, which is resetable too f.e.) for each player.
To do so, I write a long list of each item, that needs to contain all items, which are going to be created.
I finished this so far.
The difficult part is, to remove the created items (player logs out, or fails his mission). I made 1 huge step closer to my target by creating a table value, which contains all created items, including their position and relevant id's.
But the problem is: How can I save these tablevalues for each player individually?
Example for tablevalue:
I hope i stated my problem properbly and anyone can help me.
Best regards
I recently developed a script, which allows the server to create a private area (a personal dungeon, which is resetable too f.e.) for each player.
To do so, I write a long list of each item, that needs to contain all items, which are going to be created.
I finished this so far.
The difficult part is, to remove the created items (player logs out, or fails his mission). I made 1 huge step closer to my target by creating a table value, which contains all created items, including their position and relevant id's.
But the problem is: How can I save these tablevalues for each player individually?
Example for tablevalue:
Code:
examplevalue = {
{
id = 2195,
pos = { x = 1194, y = 1183, z = 7 }
}
I hope i stated my problem properbly and anyone can help me.
Best regards