Object invisible but....

Started by , Mon 06/10/2003 19:30:20

Previous topic - Next topic

Armando Olivieri

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?

Armando Olivieri

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?

quintaros(at work)

Under the hotspots interaction menu, set the "Mouse is over hotspot" to "Object on" and specify which object.

Armando Olivieri

Yes, but after the cursor is found out of the coordinates of the hotspot, the object doesn't dissapear...

SSH

Put this in your room's repeatedly_execute interaction (run_script)

if (GetHotspotAt(mouse.x,mouse.y)==YOURHOTSPOTNUMBER)
{
ObjectOn(YOUROBJECTNUMBER);
} else {
ObjectOff(YOUROBJECTNUMBER);
}
12

SMF spam blocked by CleanTalk