Aller au contenu

Photo

(release) Unlimited variable storage


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Craig Graff

Craig Graff
  • Members
  • 608 messages
I posted a personal project of mine (not an official BioWare release): unlimited variable storage.
With a single include file and a simple function call in your module
script you get full support for unlimited persistent variables and
arrays.

This is a 1.0 release and should be solid, but I'm
calling it a beta for now. More features will be forthcoming but all
functions will remain backwards compatible, so there should be nothing
to stop you from using the package now.

Edit: As Sunjammer pointed out, this is basically SetLocal* without the hassle of declaring your variables in a 2da.

Modifié par Craig Graff, 04 février 2010 - 04:36 .


#2
Sunjammer

Sunjammer
  • Members
  • 925 messages
If you don't know what any of that means check out Craig's signature for a nice summation.

#3
Adaram

Adaram
  • Members
  • 464 messages
Sounds awesome! Thanks!

Not knowing exactly how it works, will there be anything that a user would have to download, or is this just something that gets caught and packaged in your creation of the dazip file?

Modifié par Adaram, 04 février 2010 - 04:51 .


#4
Craig Graff

Craig Graff
  • Members
  • 608 messages
Anything that you create as a dazip should include everything the player needs for this to work. It's done entirely in-game. One small caveat is that you do need to have a module script for this to work properly.

Edit: Well, now that is true. The version that the first 5 people downloaded used custom items which were exported to the packages/core/override file by default. This would have meant moving those items into each module's override before creating the .dazip.   That won't be necessary with the current file, so you may want to download it just for the sake of convenience.

Modifié par Craig Graff, 04 février 2010 - 06:57 .


#5
Proleric

Proleric
  • Members
  • 2 350 messages
Nice.

#6
Challseus

Challseus
  • Members
  • 1 032 messages
Great work. Will check out when I get home!