Conversation brain

This is a simple brain that has an entity stand in one place and start conversations with the player when the player interacts with the entity. The entity also needs to have a Conversation setup for this to work. The brain state called Start is where the entity brain starts processing. In this brain the entity starts running the actions Stand action and Allow conversation requests action. This means that the entity will stand in one place and will allow conversation requests. When the player faces the entity the player will get a prompt indicating that they can press the action key to start a conversation. If a conversation request is detected through Conversation requested then the brain moves to the Start Conversation state. This runs the Start conversation action. The start conversation action will orient the AI towards the conversation requester and then start the conversation. When In conversation is true then the AI has oriented itself towards the conversation requester and has showed the conversation dialog and runs the conversation configured on this entity. Once this action is run the brain immediately transitions to a state where it waits for the conversation to end using In Conversation with Is False checked to reverse the test. If Not in conversation then the brain goes back to the Start state.