Difference between revisions of "Talk:Linked List Tutorial"
Jump to navigation
Jump to search
imported>Haama (Nope, doesn't work at all) |
imported>ABO (followup question) |
||
Line 1: | Line 1: | ||
I find this very useful - any kind of extension of the limited scripting-language is welcome, but this tutorial is outstanding, even if incomplete. | 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. [[User:ABO|ABO]] 22:09, 28 January 2009 (EST) | 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. | ||
--[[User:ABO|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. | :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. | ||
:--[[User:Haama|Haama]] 23:45, 28 January 2009 (EST) | :--[[User:Haama|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. | |||
::--[[User:ABO|ABO]] 09:22, 29 January 2009 (EST) |
Revision as of 09:22, 29 January 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)