|
Post by colpolstudios on Oct 14, 2021 22:59:29 GMT
Hello,
I am attempting to get a greater understanding of how to use the FSM AI.
I decided to use the FSM examples scene as it offered great examples, that I could possibly learn from.
In this example scene:
I like are that the AI do not shoot the player on first contact and that if evad them long enough they give up looking for me.
They will also hear if I shoot one of them and they are within earshot they will also come to look for me.
I used the new cover addon for the player and positioned him just before the entrence to the weapon equip section "FSM examples scene". with the pickup to equip the hand gun just before you enter the area.
I used the first "Orange" when you exit from the ramp as the players first and only cover option, I also made it possible for a AI to use this cover.
Question:
I use the prefab AI-shooter-cover, but lack the understanding as to why if I do not engage with him. The AI will move to a location within this enviorment ?
If I engage he will move between the cover points, but at some point undefined, he will walk off to a new location and I am wondering why this happens?
I am also curious is there a v_invector_timer functon script that could be used with the FSM AI?
Wait for specified time within the inspector to do something that the FSM AI can hear?
|
|