Jump to content
Age of History Games

Please tell me how to add music or sound that will trigger with the event

Recommended Posts

Posted (edited)

So yesterday,i saw on youtube a cool aoh 2 mod video,and there was sound like radio talking gun shoot ecc. when the event is triggered,it plays sounds and it's so cool but i don't know how to do it so can someone plz tell me how to do this?

Edited by 6821677

Share this post

Link to post
Share on other sites

You can try this way: create an On Click event trigger, drag a Game Object to the object field and select PlayOneShot (AudioClip) from the Audio Source section of the drop down menu. Drag an object with an Audio Source to the button On Click event. It's useful for me to trigger audio in shell shockers 2 event.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Tell a friend

    Love Age of History Games? Tell a friend!

  • Posts

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games