Difference between revisions of "Talk:OnLoad"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JustTim
imported>JustTim
Line 1: Line 1:
Regarding Rez's note, I think it's even less predictable than when the player has just left that cell. I can hop multiple cells before coming back, still without triggering an OnLoad sometimes. Just a matter of what the engine chooses to keep cached, I guess. So on that note, does anyone have an effective, efficient solution for the problem of: how do I reliably determine when the player has just entered my cell? -- [[User:Nezroy|Nezroy]] 11:08, 8 May 2006 (EDT)
Regarding Rez's note, I think it's even less predictable than when the player has just left that cell. I can hop multiple cells before coming back, still without triggering an OnLoad sometimes. Just a matter of what the engine chooses to keep cached, I guess. So on that note, does anyone have an effective, efficient solution for the problem of: how do I reliably determine when the player has just entered my cell? -- [[User:Nezroy|Nezroy]] 11:08, 8 May 2006 (EDT)


How about "GetInSameCell player" on an object in the cell? You'd have to call it every second or so but it would work.
How about "GetInSameCell player" on an object in the cell? You'd have to call it every second or so but it would work. --[[User:JustTim|JustTim]] 15:00, 8 May 2006 (EDT)

Revision as of 14:00, 8 May 2006

Regarding Rez's note, I think it's even less predictable than when the player has just left that cell. I can hop multiple cells before coming back, still without triggering an OnLoad sometimes. Just a matter of what the engine chooses to keep cached, I guess. So on that note, does anyone have an effective, efficient solution for the problem of: how do I reliably determine when the player has just entered my cell? -- Nezroy 11:08, 8 May 2006 (EDT)

How about "GetInSameCell player" on an object in the cell? You'd have to call it every second or so but it would work. --JustTim 15:00, 8 May 2006 (EDT)