Difference between revisions of "Talk:Linked List Tutorial"
Jump to navigation
Jump to search
imported>ABO |
imported>DragoonWraith |
||
Line 12: | Line 12: | ||
:::I've confirmed that placeAtMe objects will be unloaded when the cell is unloaded, regardless of references to them. So this cannot work unless you intend to only interact with the objects when you are in the same cell where they are placed. | :::I've confirmed that placeAtMe objects will be unloaded when the cell is unloaded, regardless of references to them. So this cannot work unless you intend to only interact with the objects when you are in the same cell where they are placed. | ||
:::--[[User:ABO|ABO]] 13:56, 3 February 2009 (EST) | :::--[[User:ABO|ABO]] 13:56, 3 February 2009 (EST) | ||
::::Correct. As the article says, if you go to Dynamic Storage you'll see a very similar discussion in its Talk page. | |||
::::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 14:54, 3 February 2009 (EST) |
Revision as of 14:54, 3 February 2009
I find this very useful - any kind of extension of the limited scripting-language is welcome, but this tutorial is outstanding, even if incomplete.
This effectively places a bunch of placeAtMe dynamic items in the cell where the persistent manager node is. Has anyone experienced these dynamic nodes going "ofline" when the cell gets unloaded? The impression I get is only persistent objects are guaranteed to be available when the cell containing them is unloaded and references to the unloaded objects behave like null references until the cell is reloaded. I have certainly experienced this with references to static non-persistent containers. I'm not sure if this also happens to dynamic objects. --ABO 22:09, 28 January 2009 (EST)
- This technique won't work for exactly the reason you've given. There are much better techniques available now, including arrays (pluggy or upcoming OBSE version) and linked lists (again, requires OBSE). There is one similar technique that doesn't require OBSE, but it is an absolute pain to pull off. The only mod that used it (NPC's with Jobs) was changed to use pluggy arrays long ago - a huge undertaking, but worth it to get rid of the non-OBSE system.
- --Haama 23:45, 28 January 2009 (EST)
- That's what I thought, but I've also seen hints that placeAtMe objects do not get unloaded if there are other loaded objects with references to them, so I was kinda hopeful it would still work. In this case the head object is persistent and there is a chain of references to all the dynamic objects, so if there is any kind of "keep referenced objects loaded" behavior then it might still work. Has anyone ever actually experienced problems? I have a low-end laptop that seems to be excellent at triggering cell flush related problems so I'll do some experiments.
- --ABO 09:22, 29 January 2009 (EST)
- I've confirmed that placeAtMe objects will be unloaded when the cell is unloaded, regardless of references to them. So this cannot work unless you intend to only interact with the objects when you are in the same cell where they are placed.
- --ABO 13:56, 3 February 2009 (EST)
- Correct. As the article says, if you go to Dynamic Storage you'll see a very similar discussion in its Talk page.
- Dragoon Wraith TALK 14:54, 3 February 2009 (EST)