|
Post by jrush64 on Oct 20, 2019 23:24:25 GMT
Is it possible to have an AI investigate a suspicious object that they see? Like If I drop a gun on the ground and the AI comes across it I want the AI to walk towards the gun. Please how would I do something like that?
I tried using chase target but the ai never stopped chasing the target when it reaches the target.
|
|
|
Post by Invector on Oct 21, 2019 13:57:07 GMT
You can use the decision 'CheckTargetDistance' to return to Idle or play a custom animation once it gets close enough to the target
|
|
|
Post by jrush64 on Oct 21, 2019 18:02:09 GMT
I was able to get it to work using noise. Check Target Distance did not work at all.
How do I switch from civilian to shooter back to civilian?
I have an Guard FSM that switches to the shooter fsm fine, but I need it to switch back to the original Guard FSM after losing track of the player.
Edit: It would be nice if we had a move to target action like the Go to noise position
Edit 2: I'm also having some issues in which it takes the AI over 10 seconds to see the player standing in front of them before moving to the next state.
|
|