Ho un oggetto invisibile....
Quando il cursore del mouse passa su un hotspot, l'oggetto deve comparire...Ma dopo che il cursore si trova fuori dalle coordinate dell'hotspot, l'oggetto deve scomparire.
Come fare?
Ehm, sorry... You read under:
I have an invisible object....
When the cursor of the mouse passes on a hotspot, the object has to appear ...Ma after the cursor is found out of the coordinates of the hotspot, the object has to disappear.
How to do?
Under the hotspots interaction menu, set the "Mouse is over hotspot" to "Object on" and specify which object.
Yes, but after the cursor is found out of the coordinates of the hotspot, the object doesn't dissapear...
Put this in your room's repeatedly_execute interaction (run_script)
if (GetHotspotAt(mouse.x,mouse.y)==YOURHOTSPOTNUMBER)
{
ObjectOn(YOUROBJECTNUMBER);
} else {
ObjectOff(YOUROBJECTNUMBER);
}