News Forums RAIN General Discussion and Troubleshooting TRigger a move action from code

This topic contains 0 replies, has 1 voice, and was last updated by  rogerdv 2 months, 4 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #40502

    rogerdv
    Participant

    Im trying to move the AI to a point nearby to player when it is located out of the weapons range. I found some code here in the forums, but cant make it work. Im supposed to have a move action, with a moveTarget variable, then in my code, set moveTarget variable to the destination coordinates. The problem is that it doesnt works, probably because my behaviour tree has some error. I first tried to create the move action alone, and then depending on a constraint, but anyway, it doesnt works. Can somebody help me with this?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.