![]() |
Yet another gani script question...
I have a gani script so that it shows player hp and nicks.
The gani is working fine, but just that if I am with another player and I leave the level, I no longer see the text from that player at all, but I still see the text from my player. If either of us reconnect, the text from the other player reappears. Any ideas? |
Quote:
|
Quote:
Here is some code that sets up the gani to an attr and some sample attrs that the ganis uses: PHP Code:
PHP Code:
|
Kristi [Hell Raven] sometimes uses "thiso.(stat @ "img") = this;" things similar to this. It works, however I don't really know much about it.
Maybe try "thiso.(stat @ "img") = findIMG(201 + i);". |
Quote:
|
Read this:
thiso.(stat @ "img") = this; Now read this: this.nickimg.x = player.x + 1.5; thiso. to this. MIGHT be a problem? :o Just a guess. Fix that up first, then if theres still a problem report back, and I will finish looking at it. :D |
The script looks ok. The text disappears when you leave the level (where the other guy is) and then come back to that level ? Both see the text of the other player disappearing?
|
Quote:
Quote:
Quote:
|
The playerenters function (same as playercreated) does not happen again when you reenter a room with a player youve already met in a gani (apparently). instead, the timeout keeps going. Likewise, leaving the room is destroying the objects, so when you return, there is nothing to reference. This is my solution.
PHP Code:
|
Quote:
|
| All times are GMT +2. The time now is 02:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.