![]() |
setlevel2 / onPlayerEnters issue
If you use setlevel2 to change a players level, and the player is already located in that level, all timeouts in attached ganis (obj.attr[#] = "gani" etc.) completely halt, and you're unable to reinitialize them since onPlayerEnters() will not be triggered by the warp (clientside nor serverside).
I worked around it by only changing x/y if the player is already in the destination level, but I find it to be a short term solution to a long term issue. Is there anything else I can use to reinitialize the timeout in the gani script? |
Call onPlayerEnters() manually?
|
Quote:
|
Check for the level before warping. If the player is already in the same level, just change their x and y...?
|
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
If an engine doesn't do something exactly how you want it to, it's your job to find a way around that. Expecting the engine to be updated for your specific needs is fruitless. |
Quote:
|
Quote:
|
I've not experienced this problem set, does it also happen with the trading card effects and pets?
|
Quote:
|
| All times are GMT +2. The time now is 04:38 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.