![]() |
Showimg Dissapearing
I have a script that uses showimg, and everytime I heal or lose life, just the default ones that is, there is no special HP script that I'm using, the showimg images dissapear. Thease images are attached to the client's screen, not the level, index of 4+ or whatever, and their indexes are all 200+. Is there a known solution to this problem or do I need to post the script? Anyhow, help would be much apreciated.
|
Would be better if you could post the part that is apparently causing the problem, such as any hideimg part or even showstats i guess.
|
NPC Code: there's the problematic code, all clientside |
Quote:
Talk to me over AIM if you need help to fix it. |
Even though you are right osrs, that wouldn't be the problem. That hideimgs part is only called when the weapon has been fired twice.
Also, please, I beg you to re-write the script. Do something like this for the mouse detection. NPC Code: You accomplish the same thing with 8 lines, instead of 30. |
I did not say that was the wrong part, i just said that there wasn't such variable on script. Kramer sent me a message some minutes ago and told me that he fixed it anyway. :)
|
I see I see.
Please mention to him about the mouse detection. I don't even want to get started on the weaponfired part... |
Pft, trolls.
The problem is known. I first experienced it myself when I scripted what I claim to be Graal's first custom health bar (for Kharlia :D) shortly after changeimgvis was introduced. Since then I have been displaying all such NPCs in a 0.05sec timeout loop. It has worked fine, but now that we have custom health stuff almost everywhere, that practice is getting rather bothersome. |
thanks, I'm going to change that moust detection thing, my solution was as loriel said and eventially the weaponfired part will be done away with altogether.
|
Loriel got to post the answer before me :(
|
| All times are GMT +2. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.