Difference between revisions of "Talk:OnLoad"
m
no edit summary
imported>DragoonWraith (info on GetInSameCell?) |
imported>Nezroy m |
||
Line 4: | Line 4: | ||
::Two issues with that approach: | ::Two issues with that approach: | ||
*First, once you leave the cell, the gamemode script for the object stops running, so in effect, any time the object script is running, GetInSameCell player will be true by definition. However, if you stick that in a quest script instead that is constantly running, it will work. Perhaps that's what you meant anyhow :) | ::*First, once you leave the cell, the gamemode script for the object stops running, so in effect, any time the object script is running, GetInSameCell player will be true by definition. However, if you stick that in a quest script instead that is constantly running, it will work. Perhaps that's what you meant anyhow :) | ||
*Second, reports on the forums indicate that GetInSameCell appears to be pretty chaotic with the values it returns, making it more or less useless, even in a quest script. I haven't verified that myself though, so I will have to look into it further. Regardless, we can accomplish the same thing through a xref'd counter, but the basic issue still remains that we have to call this repeatedly in an always-running quest script, which just seems like way too much overhead for such a simple task. | ::*Second, reports on the forums indicate that GetInSameCell appears to be pretty chaotic with the values it returns, making it more or less useless, even in a quest script. I haven't verified that myself though, so I will have to look into it further. Regardless, we can accomplish the same thing through a xref'd counter, but the basic issue still remains that we have to call this repeatedly in an always-running quest script, which just seems like way too much overhead for such a simple task. | ||
::I do think it's a viable, working solution, I just find it unsatisfactory :) This general idea has also been under discussion in [http://www.elderscrolls.com/forums/index.php?showtopic=426845 this thread]. | ::I do think it's a viable, working solution, I just find it unsatisfactory :) This general idea has also been under discussion in [http://www.elderscrolls.com/forums/index.php?showtopic=426845 this thread]. -- [[User:Nezroy|Nezroy]] 16:04, 8 May 2006 (EDT) | ||
-- [[User:Nezroy|Nezroy]] 16:04, 8 May 2006 (EDT) | |||
:::Argh, why is this so complicated? I want CellChanged back! Anyway, is there any information anywhere on how [[GetInSameCell]] works (or doesn't)? --[[User:DragoonWraith|DragoonWraith]] 11:27, 23 May 2006 (EDT) | :::Argh, why is this so complicated? I want CellChanged back! Anyway, is there any information anywhere on how [[GetInSameCell]] works (or doesn't)? --[[User:DragoonWraith|DragoonWraith]] 11:27, 23 May 2006 (EDT) |