Difference between revisions of "Talk:Linked List Tutorial"
Jump to navigation
Jump to search
imported>ABO (add question) |
imported>Haama (Nope, doesn't work at all) |
||
Line 2: | Line 2: | ||
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. | |||
:--[[User:Haama|Haama]] 23:45, 28 January 2009 (EST) |
Revision as of 23:45, 28 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)