News Forums RAIN General Discussion and Troubleshooting Switch between 2 different entities/aspects?

This topic contains 2 replies, has 2 voices, and was last updated by  Ibrahim 1 month, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40448

    frans337
    Participant

    Hey now, I’m trying to get my AI to switch between 2 different entities, one is the player and the other is a multitude of ‘wander’ entities. I’ve tried to achieve this through custom actions and by just using the behaviour tree to no avail, I’m not too adapt with RAIN.

    - how would one go about switching between different entities?

    - and how would a timer be implemented for this switching for either the custom action or in the behaviour tree? (For example: go after playerEntity for 10 seconds, wander for 3 secs.)

    Thank you in advance.

    #40449

    frans337
    Participant

    Bump

    #40451

    Ibrahim
    Participant

    Have you thought about testing with Selector node? Or another thing in my mind; try to use constrains to select which sensor to use. (use detect with different sensor each time).

    (sorry, I never came through this issue and just tried to tell you what I might think of).

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.