![]() |
Clicking the player?
I looked throught the newfeatures.txt and searched this board and saw nothing of the sort explaining or even hinting at how you would detect if the player was clicked. Now am I just using
NPC Code: without the proper comands or is there actuly a comand for it? |
i'm not too sure.
I've only seen/used the mouseover commands for players. |
Darn, I really need it for my buffing/de-buffing system >.<
|
So it would be like
NPC Code: right? |
Quote:
|
I already new that =P.
|
You not really need to use testplayer.. just if you wanna something in special.. but to work with hearts, swordpower..etc.... you can use the map info, so there is no lag.. i.e.
NPC Code: |
I have it done and got it figured out thanks to Screen_Name :].
|
Quote:
|
Lol omg...
|
He he. I always do something like this:
NPC Code: that way it checks to see where the mouse is at, and you can customize the distance you want it for. Of course you would have to do an if (created) timeout=0.5; (I would use 0.5 in this case b/c it is still faster than the player notices, but isn't as laggy as 0.1!) and then put that 'for' in the timeout and have it loop. ---Shifter |
| All times are GMT +2. The time now is 05:35 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.