Check Float Not working?

Forums 💬 NodeCanvas ⚙️ Support Check Float Not working?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18033
    yulaw2k
    Participant

      What am I doing wrong?
      I get the health from an enemy blackboard.
      I use a conditional to check if the health is greater than 0, then rotate…. but it returns fail.
      You can see the health1 variable is at 100.

      [attachment file=”pict.jpg”]

      #18034
      Gavalakis
      Keymaster

        Hello,
        It seems that the “_health1” parameter in the condition is not correctly bound to the variable on the blackboard (it’s red).
        Are you using dynamic variables for this? If so, can you please try to use normal variables in blackboard just to confirm it’s working?

        Let me know.
        Thanks.

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