@OVERHOTSPOT@ and non visible characters

Started by PatientRock, Sat 22/01/2011 16:22:26

Previous topic - Next topic

PatientRock

Using a @OVERHOTSPOT@ GUI with label to hover over hotspots (etc) and get their description. 

The problem I'm running into is that it's picking up characters who are not visible.  Is there a way to get the GUI to ignore them until they're visible?  Thanks!

ThreeOhFour

Have you tried something like cInvisibleMan.Clickable = false; and then setting it to true when you are ready to have him appear?

The other alternative is to simply move the character into another room until you are ready to have them appear, although I assume you have some reason for having the characters invisible rather than located elsewhere.

Icey



Or Try this to change the characters names that you dont want visible at the time.
Code: ags

cego.Name = "";


You can use this code to change the names back.

PatientRock

Should have thought of the clickable option!  Thanks.  Yeah, the invisible characters are saying random things through a door.  Thanks all.

SMF spam blocked by CleanTalk