Difference between revisions of "Talk:OnLoad"
Jump to navigation
Jump to search
imported>Nezroy (unpredictable OnLoad triggers) |
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. |
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.