Error Code C2280: StateMachine AddState Function not working.

  • eons93
    Likes 0

    Problem Description

    I made a post on reddit and has my code snippets (https://www.reddit.com/r/cpp_questions/comments/c9kgw8/how_do_i_use_this_state_machine_from_sonar_systems/)

     

    I’m getting my error code when I try to use the statemachine. I created a StateRef and StateMachine member to my engine class then tried passing in the StateRef through the State Machine’s AddState Function and got the error code C2280: and mentions something about a function being deleted. I will not that the tutorial series offers no instruction of how to use the statemachine, only how to make it. a tad frustrating. 

  • Sonar Systems admin
    Likes 0

    is it fixed now?

  • eons93
    Likes 0

    It is not, still trying to troubleshoot. My forehead is bleeding but I think a couple more slams on my keyboard might just do the trick. 

  • Sonar Systems admin
    Likes 0

    I believe it shall

Login to reply