from what im guessing trigger machines work flow is pretty straight forward. now does the object just need a trigger added to it or do i need to add a interaction to it? or when playing a sound do i need to add a audio source to the objects for play sound to work?
new website can be found here http://www.fore-loregames.com

Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

or check out the face book page here https://www.facebook.com/ForeLoreGames
  • edited June 2015
    A trigger machine just needs a trigger.

    Unless you want to do some setup on your audio source component, you don't need one. Makinom (like ORK) will automatically add audio source components when playing sounds (if none is attached already).
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • so i took a look at this an did a test with the check trigger now on the success i have it play the sound an on failure i have stop sound node connected but this dosent work i have the trigger machine set to enter. i even tried setting up a 2nd one that did basically the same as the first schematic except there was no play sound an i set it to exit to try to do a onTriggerEnter an onTriggerExit event but cant seem to get the sound to stop playing...
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • The Collider Check Trigger node and trigger machines are 2 different things.

    The trigger machine starts on trigger events (enter, stay, exit), the node will check if a collider is a trigger.
    Make sure the trigger machine is even started, requires the player (or other objects, when using the Start By Other options) to have a collider (and rigidbody, I think).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • ok so this isnt playing a sound no matter what i do i got the player set up in makinom in the editor i put a capsule collider along with a riged body i have tried very thing i can think of an i cant get this to work .... do have to mention it does not work for playing or stopping the music didnt realize the original set up was disabling an enabling the source i got rid of the source to find out it wont even start the sound :/ heres some pics i used a sphere object an turned turned its collider into a trigger

    image

    image

    image

    dont know what else to do normally with triggers it would be onTriggerEnter play sound

    an onTriggerExit stop sound

    but as of now even if the player is spawning inside the trigger its still not seeing it question... im spawning with ork would that cause a issue on this even if i have my player set up with makinom? i know doing ai checks works fine so figuring this is not the case for the issue but figured id mention it
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Did you add the audio clip to the schematic's settings as a resource (or using resource overrides in the machine)?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • its in the settings give me a bit im updating the project to newest version of unity im wondering if its cause im still on the first 5.0 post beta build cause what was working yesterday for my waypoints stopped working for no reason even though no settings in it where changed
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • I remember some audio issues in the Unity 5 beta versions, don't know if that was still there in the first versions after the beta ...
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • welp ill find out when i update an hope for the best cause i mean yesterday my npc was walking around just fine with waypoints then all of a sudden today i started up unity an its not working even though every thing was saved. so now its just a wait an see ill update both threads with my findings after i test everything again.
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
Sign In or Register to comment.