Event Guard Node

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14568
    sanity
    Participant

      I have an AI that acts on its own for the most part but sometimes the player will give it orders using NodeCanvas Events. However With my set up right now the player machine has trouble knowing what kind of orders are valid for this GraphOwner.

      I was thinking that creating a condition that receives all NodeCanvas events and checks if this tree has other condition receiver of the same time. If it does not then it throws an error. This would help me with typos (since we trigger events with magic string names, which is prone to typos) and it would inform me if my Player Machine asked something of the tree owner that its not build to do.
      I have no idea how to make this node though, please advise me how or suggest some other elegant way to achieve this!

      Thanks!

      #14569
      Gavalakis
      Keymaster

        Hello,

        I am a bit confused to be honest as of the end result you would like to have 🙂
        I could alter the CheckEvent to show some logs (?). Can you please clarify?

        Thanks and sorry for not understanding correctly.

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