How is it possible in script language to define if mouse is over a hotspot or an object and which hotspot or object is this? Is it possible? I don't know if this message fits in this forum but I'm still a newbie. Any hint would be helpful. Thanks
GetObjectAt(mouse.x, mouse.y)
GetHotspotAt(mouse.x, mouse.y)
GetLocationType(mouse.x, mouse.y)
The manual has more details. Hope this helps.
if (GetObjectAt(mouse.x, mouse.y) > 0){
if (GetObjectAt(mouse.x, mouse.y) == 1){
Ã, DO CODE FOR OBJECT 1
Ã, }
else if (GetObjectAt(mouse.x, mouse.y) == 2){
DO CODE FOR OBJECT 2
Ã, }
Ã, (etc)
Ã, }
do the same with hotspot but replace 'Object' with 'Hotspot' (duh : :) )