OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ryan D Ale on 29 Aug 2007, 12:43:23

Title: Figured out making an extremely tight/close patrol
Post by: Ryan D Ale on 29 Aug 2007, 12:43:23
I know how to make a patrol with way points and cycles and the like.

My problem is that when I have 2 units that are moving to a waypoint in a line formation they simply don't walk in a line.
It's still part of a wedge or V or echelon. This happens because one unit won't keep up with the other. I want them to walk together as opposed to having a delayed kind of effect. I made both units start on the same line and the waypoint is straight and there are no obstructions (even though it is close to a building and vehicle the path is definately clear).


I've tried using a follow unit script as opposed to having both units assigned the way point with having a distance of only 1 but that didn't seem to work.

If someone could give me some help or point me i nthe right direction I'd appreciate it.
Title: Re: Making an extremely tight/close patrol
Post by: dmakatra on 29 Aug 2007, 20:33:48
Well, that's OFPs pathfinding for you. Bloody excellent is it not?

The good news is, they didn't fix it in ArmA! :clap:

Anyway, it might be me being a bit of a can of jam - but just before I go giving suggestions - the units were grouped, right?
Title: Re: Making an extremely tight/close patrol
Post by: Ryan D Ale on 29 Aug 2007, 20:40:57
Thanks for the reply.

lol Oh well. I never thought about that, I thought it was an error I made.

Yes I did put them in Groups.


# removed unnecessary quote - h-
Title: Re: Making an extremely tight/close patrol
Post by: dmakatra on 29 Aug 2007, 20:44:41
Oh, in that case they fecked up as long as they are in safe/careless mode as they will automatically form up in a column. But if you have them in aware/combat/stealth I'd try to just make their speed limited and that should do the trick.
Title: Re: Making an extremely tight/close patrol
Post by: Ryan D Ale on 30 Aug 2007, 03:26:49
That's an interesting suggestion. Thank you, I'll test that out and let you know how it goes.


# removed unnecessary quote - h-
There's no need to quote the whole previous post you're replying to...
Title: Re: Making an extremely tight/close patrol
Post by: Ryan D Ale on 30 Aug 2007, 19:27:25
Update: Didn't work but nice suggestion.

I also managed to figure out that it works alot better to not have them as a group and for them to use seperate way points which are practically on top of one another.

To keep them tight and up with each other I think I'll use a close combination of min, med and max timeouts as well as additional guards at way point positions. That way, it'll give a friendly appearance.

Thanks for the help and you can remove the topic if you like. All is sorted. Unless the moderator wants to keep it for a reference in search.
Title: Re: Figured out making an extremely tight/close patrol
Post by: h- on 30 Aug 2007, 20:02:16
We do not remove topics unless they are extremely offensive in content or spam.


And for the future, please refrain from double posting.
If you have something to add to your post after a short period of time modify it instead of replying to yourself.