![]() |
Mouseover..
Anyone know if there's a mouseover clause, or some way to tell when the mouse has rolled over an npc?
|
Quote:
|
for example
NPC Code: |
Quote:
That said, you are not using the proper variables - you want to check if mousex and mousey are within those ranges, not if the NPC's x and y are. You also lack an operand within your second range... |
mousex and mousey in screenx and screeny would also be helpful I'd bet you.
|
Quote:
Whats with the x-1,x+1 type deal? Npcs' x and y are at the top left corner of the npc, so you'd need x,x+width... That's just like that distance formula crap people were doing so long ago, but with less excuse.. bah I'll just presume it was an example and let it go, even though it was misleading somewhat |
NPC Code: |
Quote:
|
Quote:
Indexes >200 and <0 is the same thing anyways. |
yes.
-1 downto -inf = visible by client only 0 - 200 = visible by all clients in the level 201 - inf = visible by client only. len(-1) < len(200) its just easier to type. |
Quote:
|
Quote:
|
Quote:
|
Oi.
No fighting ladies. |
Quote:
|
All times are GMT +2. The time now is 04:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.