Thread: actionmouseover
View Single Post
  #1  
Old 08-25-2002, 10:28 PM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
actionmouseover

actionmouseover

Is then the mouse is anywhere over the NPC object, but only works when you state the X,Y of the NPC and use setshape/setshape2

EG:

NPC Code:

if (created) {
x=32;
y=32;
setshape 0,16,16;
}
if (actionmouseover) {
say #bYour mouse is over this NPC
}

Reply With Quote