Birdman076 wrote...
Kato,
Yes I mean the number of variables a placeable can hold and I came to the same conclusion on player limits as well but wanted some sort of an idea as to what limitations if any would exist.
The var table is a list of structures. So the limit on the number of local variables that you can place on an object is just under 4.3 billion. Lets just say you would run into memory and speed problems before you could exhaust the number of varaiables that you could place on an object.
Is it possible to track items sold to a merchant and keep a running tally of gold amounts for bought and sold items so that at a certain level a player would gain a discount for using that merchant extensively?
Yes, you can do it. The aquire and unaquire events do not fire for stores, So you will need to hook it from the aquire and unaquire events for the PC and compaire the object they got/gave it to vs the Object type or Tag of the store.
I use the nwn db and item db setup currently because I just don't have a ton of time to devote to learning sql atm.
Another option here would be to just use a DB object in the PC's inventory. Or the NW DB would work just fine. If you did not use NDBE, like it sounds like you are planning, from the question about local count, You could just run DataPack.exe on your NWDB every once in awhile to deflate the DB back down.
Modifié par Lightfoot8, 07 février 2012 - 09:32 .