Issue with animation triggers

Options
Hey all!

I am working on a game and am using PUN for my networking. I have set my Attack and Block triggers synchronize parameters to Continuous and my Photon Animator View is the last component on my object as shown in this picture https://prnt.sc/sa51fl . The issue is that if I keep triggering the Attack and Block then it works but if I attack/defend only once then it doesn't.


The rest of the animations work fine.. Can anyone help me I can't seem to find a solution on this forum :/

I have checked this 2 posts and it didn't help me at all :
https://forum.photonengine.com/discussion/7459/animation-trigger-not-working-but-all-others-are
http://forum.photonengine.com/discussion/7603/photon-animator-view-what-about-triggers

Comments

  • GreenEclipse
    Options
    If anyone can point me into right direction I'd really appreciate it!
  • Lethn
    Options
    I ran into this problem, do you have your transitions set up so that your animation trigger goes to some sort of idle state?
  • GreenEclipse
    Options
    Hey @Lethn yeah it goes to an IDLE state so it just basically changes from one idle state to another
  • Lethn
    Options
    Try setting all of your parameters to continuous and see if that fixes anything, it may be that because your idle isn't being synchronised all the time that's causing an issue.
  • GreenEclipse
    edited May 2020
    Options
    Oh forgot to mention I've already tried that but that didn't help solve my issue.. I'm seriously considering to change the triggers to float or bool and just not waste time fixing something that isn't working :/ Thanks for the help!