Is it possible,or will they all just dissapear when the module is reset/reloaded,just too clarify this is a multiplayer internet server.
Any help,pointing out the B****y obvious,or links would be appreciated.
Permanet map pins?on a PW
Débuté par
Bansidhe
, mars 27 2011 05:27
#1
Posté 27 mars 2011 - 05:27
#2
Posté 27 mars 2011 - 06:15
if you mean player-made mappins, it is possible to save them via scripting, but its not a very good idea because it may flood database especially if you using BIO db...
http://nwn.wikia.com/wiki/Map_pin
http://nwn.wikia.com/wiki/Map_pin
#3
Posté 27 mars 2011 - 07:19
***laggy double posting
Modifié par kalbaern, 27 mars 2011 - 07:20 .
#4
Posté 27 mars 2011 - 07:20
Save them as variables to a database item instead.
I save the variables to player dicebags on my own PW and have had no issues. Just PM if if you wish the actual code. It's not my own, I'd found it on NWN Vault a few years ago.
I save the variables to player dicebags on my own PW and have had no issues. Just PM if if you wish the actual code. It's not my own, I'd found it on NWN Vault a few years ago.
Modifié par kalbaern, 27 mars 2011 - 07:22 .
#5
Posté 27 mars 2011 - 09:07
Just remember that the area the MapPin belongs to is stored as a local the Object of the area. This means that if you added areas to the PW the area ID's may change. So you may want to store the Area as Tag of the area in the DB or on the DB item and convert them back to the correct Object when placing them as a local object on the PC.
#6
Posté 27 mars 2011 - 09:38
#7
Posté 28 mars 2011 - 04:23
Excellant1...thank you all so much!
#8
Posté 20 octobre 2012 - 11:09
At the risk of being blamed for necromancy, allow me to update this thread.
Jassper also created a set of functions for managing persistent map pins.
All you need of Jassper's work is the one file which I appreciate given my desire to conserve resources.
Jassper also created a set of functions for managing persistent map pins.
All you need of Jassper's work is the one file which I appreciate given my desire to conserve resources.





Retour en haut






