Is there a "Mouse moves over object"?
I want to change the mouse to look when it is over an object .
// script for hotspot1: Mouse moves over hotspot
SaveCursorForLocationChange();
SetMouseCursor(10);
You have to do:
if(GetObjectAt(mouse.x,mouse.y)==x){ //where x is the object
//number
script here
}
in repeatedly execute (repeatedly execute always if you want)
Thanks Goot , That would go in the main room script right .
Cool I'll give it a try .
if(GetObjectAt(mouse.x,mouse.y)==0){ //where x is the object
//number
SaveCursorForLocationChange();
SetCursorMode(MODE_LOOK);
}
Works great thanks .
I have a simple, unrelated question. Why do you always put your spaces before your punctuation? Never seen that before. ;) :P
I have a twict (sp) sometimes my thumb will hit it and I don't even see it .
You should see the mouse sometimes move all over when my hand starts moving on its own . lol
Hah, my mouse does that, not because I twitch, but because it's an optical mouse being used on a fine, light-colored wooden grain desk. It always seems to jump to a random corner of the screen. :P
I have an optical mouse too. I use a small cutting board I got at walmart for my mousepad .:)
Works great that way .