Hi everyone!
I'm making a mission where an AI group is patrolling at night. I want them to move slowly from one waypoint to the next, and when they arrive at the waypoint, I want them to lie on the ground and cover 360 degrees. I want them to remain like that for about 2 minutes, and then get up and move on to the next waypoint where they will do the same thing. If I set their behaviour to stealth at the waypoint and use the waypoint timer, they crawl rather than walk to the next waypoint. One thing I have tried is to write a script, but I don't know how to set a timer within a script. I think with this approach, I would need to set a variable to 1 once I arrive at the waypoint, and only allow the group to proceed when the variable is set to 0. The script would be called after the variable is set to 1, and the script would change their behaviour to stealth, then wait 60 seconds, then change their behaviour to aware or something like that. Finally, the script would then set the variable to 0. I don't know if I'm thinking about the problem in the right way, so any help would be most appreciated!
Kindest regards,
Mephistopheles