SWS Integration vs Example Patrol

NodeCanvas Forums Support SWS Integration vs Example Patrol

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15313
    johnny star
    Participant

    Hi, I hope you are doing well @Gavalakis!

    I know I have 2 other threads regarding other questions and I’m not sure if it’s ok for me to start a new one for a new question or I can just add on to my questions on an existing thread.

    I have SWS (Simple Waypoint System) asset and I’m using the integration but I’m not that great in the behavior tree logic so I need some help.

    In the Example Scenes ( Unity 2018.4.14+ ), when the soldiers are patrolling there is a timer on the node and it’s yellow in colour.

    But using the StartMovement node of the SWS integration there is no timer on the node. How do I go about having that visual debugging timer icon and yellow colour so that I know my AI is currently patrolling using SWS?

    #15314
    Gavalakis
    Keymaster

    Hey!

    No problem. It is better to start a new thread if there is a completely different question, so thanks for that! 🙂

    The “timer/clock” icon represents that node is still “Running”, thus is not yet finished (returned either Success nor Failure).
    Unfortunately though, the SWS integration is a very old one and as far as I remember, there is no way to tell if/when a movement (in SWS way) is finished/done and as such all SWS integration actions are never set to “Running”, but are instead fired once and then finish instantly. I will however take another look in recent version of SWS (which I have to check in years) to see if there is anything that can be changed to achieve that (meaning to know when a movement is done and as such keep the action “Running” until that is the case).

    I will update this post once I look at this 🙂
    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.