![]() |
Mouseovers?
This frustrates me. How would I check if a player has his/her mouse over an npc? And if that check is true, display a text/function/whatever until they remove their mouse from over the class?
Like what Zodiac has for player nicks, but on NPC's. |
Use a loop and x/y of mouse?
|
Something like this
PHP Code:
|
Cheers Twinny! :]
I presume that's clientside? It doesn't appear to be working for me. |
Twinny, what's showimg(201, blah); do?
|
It's just a reference as to where to put whatever I want shown when the mouse is over.
Although, clientsided or none, it doesn't appear to be working at all for me. |
Did you specify values for this.x and this.y and the height/width variables? I am not too familiar with GScript, but this seems like it could be an issue?
|
It must be clientside yes, and the showimg() parameters must be specified (imgindex, image, x, y)
|
Looks like i'll need to fiddle around with this.
Would sticking a triggerclient in a timeout cause lag at all? |
HTML Code:
function onCreated() |
I was thinking this.width/this.height since it's set with showcharacter(); and i think when you set an image or use setshape();.
|
| All times are GMT +2. The time now is 02:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.