View previous topic :: View next topic |
Author |
Message |
Urlord
Joined: 17 Nov 2006 Posts: 122
|
Posted: Mon Dec 11, 2006 2:12 Post subject: Campaign Objects |
|
|
I understand that Get/SetPersistentObject() is not working in NWNX4 right now.
I am actually looking for an explaination/education on StoreCampaignObject() and RetrieveCampaignObject(). When I store an item in the default NWN2 DBF database, does it save everything with it; like variables, item properties, Name (if I changed it), etc.? And when I Retrieve it, will it restore everything correctly?
What happens if you store a Local Object on an item and then Store the item in the campaign DB? What gets stored as the LocalObject var (if anything) and what will it bring back from the DB when you retrieve it?
I would ask this on the NWN2 forums, but there is just too much crap on there and I don't really want to have to sift through it just now.
Also, how will Get/SetPersistentObject() in NWN4? _________________ Jim (aka, Urlord)
Visit the Persistent World of Nymri |
|
Back to top |
|
|
Urlord
Joined: 17 Nov 2006 Posts: 122
|
Posted: Mon Dec 11, 2006 3:02 Post subject: |
|
|
Ok, after testing, Variables are saved and retrieved correctly using the Campaign Database. I quess, what I trying to figure out is how it works. I am looking in the DBF file at the data and there just isn't much there except for the VarName and "UTI 3.28" in the MEMO field. _________________ Jim (aka, Urlord)
Visit the Persistent World of Nymri |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Dec 11, 2006 7:32 Post subject: |
|
|
Urlord wrote: | Ok, after testing, Variables are saved and retrieved correctly using the Campaign Database. I quess, what I trying to figure out is how it works. I am looking in the DBF file at the data and there just isn't much there except for the VarName and "UTI 3.28" in the MEMO field. | Apparently, your DBF editor doesn't support MEMO fields in binary format. Find one that does - and you'll see that MEMO field doesn't end just with "UTI 3.28". |
|
Back to top |
|
|
Urlord
Joined: 17 Nov 2006 Posts: 122
|
Posted: Mon Dec 11, 2006 15:09 Post subject: |
|
|
virusman wrote: | Urlord wrote: | Ok, after testing, Variables are saved and retrieved correctly using the Campaign Database. I quess, what I trying to figure out is how it works. I am looking in the DBF file at the data and there just isn't much there except for the VarName and "UTI 3.28" in the MEMO field. | Apparently, your DBF editor doesn't support MEMO fields in binary format. Find one that does - and you'll see that MEMO field doesn't end just with "UTI 3.28". |
Any recomendations on a DBF editor that does? _________________ Jim (aka, Urlord)
Visit the Persistent World of Nymri |
|
Back to top |
|
|
|