![]() |
Change tile from a different level
How can one change the tiles that a player currently is not in? I have a custom sword script and after cutting a bush I use scheduleEvent to eventually regrow the bush after awhile with all the data needed passed through the params.
snippet : PHP Code:
|
Quote:
|
eh, current method I'm using is to just call a scheduleEvent and loop it every second or so to check if the player is in the same level or not.
|
Quote:
PHP Code:
|
Kind of, but I'm trying access a level object directly from a player that isn't in that level. I believe when the player is not in a level/gmap, that data gets garbaged collected and dumped, so technically it doesn't exist. Surprisingly, my current method with the schedule event loop doesn't lag the player even if it has to draw a lot of stuff.
|
| All times are GMT +2. The time now is 09:06 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.