Jump to content
Sign in to follow this  
CarlGustaffa

Script for idling units

Recommended Posts

In my mission I use the ups script for enemy units to do patrols. And that's what they're doing, patrolling. However, I would like to have a few enemies idling in the city in a natural way; walking about, sitting down, doing various animations, practicing, watching around, chatting with other npcs, taking a piss maybe, you get the idea smile_o.gif -- idling.

I can't use the dismissed waypoint type, because the untis will drift waaay outside of safe boundaries.

So, are the available any scripts for either ofp or arma that achieves this? Similar to the urban patrol script, except urban idling script, sortof biggrin_o.gif

Share this post


Link to post
Share on other sites

scripting such behaviour would be quite a challenge, and i do not know of any such script.

the simplest solution may be to use dismissed combined with either a trigger or script that sends the unit back to the waypoint if they wander more than a certain distance from it.

Share this post


Link to post
Share on other sites

Although it won't make use of more idling animations, it does sound like a more simple approach. Have to keep that in mind.

Share this post


Link to post
Share on other sites

have you tried just setting a few with a cycling waypoint with a respective playmove for each unit? Sure it's not dynamic but it should be ok so long as you're not staying the area for ages

Share this post


Link to post
Share on other sites

Wouldn't work as all units in groups would work in formation destroying the illusion. Disbanding from group would quickly create too many groups.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×