Jump to content

Dynamic/Static Array


thc1234

Recommended Posts

Anyone know how-to create array of variables ?

In need of saving "dynamic" amout of data.

 

Or if You guys can think of other workaround, I'll describe situation.

dynamic number of NPCs can be flagged with item, this item runs script as effect. however when NPC gets unloaded (because it's vaiting at some location, or simply because it's not in same cell when following) script is restarted, which means data in effect script are lost. Now I need to save them (fe into quest), however as there seems to be no support for arrays or script persistence (other than quest) there seems to be no way to do so.

As all actors have variable01 - variable10 which is persistent maintaining index into array is possible. :wallbash:

Link to comment
Share on other sites

Well, first of all thanks for reply

 

Arrays in pluggy are OBSE plugin which AFAIK isn't working with FOSE.

Dynamic lists are sadly unusable as references to PlaceAtMe objects become invalid when PC leaves cell where these were created (they're unloaded), so this makes them only local. (altho I'll try to play with a workaround for this I doubt I'll succeed)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...