Jump to content

Click on Hud Attachement when Hear message channel


Rafael Tower
 Share

You are about to reply to a thread that has been inactive for 2989 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hello everyone !

I was wondering if I it is possible to command an action when a hud attachment sends a message on local chat.

For example:

When it says the hud says "Hello"

My script will "click" on it or emites a sound.

I hope I was clear enough in my request O.O

Thank you very much !!

 

Link to comment
Share on other sites

Yes, one script can listen to what another one says.  If you're smart, though, you will have the HUD and your other script communicate with each other on a channel that is not the PUBLIC_CHANNEL.  If your second script has to keep a listen handler open on channel 0 all the time, it will be adding unnecessary lag to the region. Tell your HUD to sayy its "Hello" on a different channel at the same time that it says it for you to hear.

Link to comment
Share on other sites


Rafael Tower wrote:

Yes I know a script can listen but it wasn't really my question.

My question was, when the script hears something specific, can it reacts and do an action like click on something (another hud).

Thank you very much Roling
:)

Yup.  Same answer.  You can listen for a specific signal, either by filtering in your llListen statement or by using an if test in the listen event.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2989 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...