Reply To: Learnign the basics

Forums 💬 NodeCanvas 🗨️ General Discussion Learnign the basics Reply To: Learnign the basics

#15108
Anonymous

    Actually I am needing to check a string in general. Such that if the string for myState is a certain string then do the logic.

    Selector:
    Condition:
    If (myState == “Idle”)
    Condition:
    if Idle animation is not playing
    Action:
    Play “Idle” animation clip

    Selector:
    Condition:
    If (myState == “Shopping”)
    Condition:
    If (my position != my waypoint position)
    and so on