Thread: actionmouseover
View Single Post
  #7  
Old 08-30-2002, 10:46 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
I QUITE agree with Raven. There is NO point in using it, plus you would have to have HOURS of Stefan making and debugging it to work, for WHAT possible purpose? I've already shown this code like 4+ times :'(
NPC Code:

if (created)
{ timeout=0.25;}
if (timeout)
{ if (abs(mousex-x)=<1 && abs(mousey-y)=<1)
{ actions;}
timeout=0.25;
}


This would check to see if it is within one space of it =/ Just use that.
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote