Jump to content
Sign in to follow this  
Dr. Mojo- PhD

A question about cycle waypoints

Recommended Posts

My mission is now working with only one hitch left. I need the enemy to have two patrol routes -- their normal patrol, and their "alert" patrol.

Essentially, the enemy tools around in boats. If BLUFOR is detected by OPFOR, then a trigger breaks their cycle waypoints, and they beach their boats and head ashore. What I need is for them to be able to patrol the island afterwards.

I'm not sure how to do this. I've tried setting up a trigger that they walk through, and when they do it synchronizes to the next waypoint, which is the beginning of their next patrol route. They then walk the patrol with another cycle at the end. This doesn't work.

I've also tried attempting to use the deleteWaypoint command, but since the community wiki is extremely sparse and tends to just restate the obvious (deleteWaypoint is used to delete a waypoint!wink_o.gif without any real examples of context (the examples of syntax only take you so far), I'm not making much progress.

If you want to help out, assume I'm a complete moron. I haven't edited ArmA in many, many months and I'm trying to do some complicated stuff in my return.

Bonus: If anybody wants to remind me how to open and close gates that are already set in the map as well as ones that I myself will be placing (I have a vague idea where to find this info), that would save me a lot of trouble. Everything else works just fine. This one isn't top priority, however.

Share this post


Link to post
Share on other sites

Alright, never mind about the gates, got that one going myself. Still need to know about those cycle waypoints, though. Or deleting old waypoints to create a new cycle.

Share this post


Link to post
Share on other sites

I guess you could always use UPS (Urban Patrol Script)? Have a normal waypoint patrol then after the excitement is over switch on the UPS script.

Share this post


Link to post
Share on other sites

I considered that, however the area is not an urban area. There's a single road passing through there. Otherwise they have to patrol a wooded area.

Share this post


Link to post
Share on other sites

Easy enough. Make a trigger, synchronise it to the cycle waypoint that loops them on their first path and make it's type switch. Do not group it to the other cycle that loops them on the last part of their patrol path.

Ohh, and forget deletewaypoint, just map the whole thing out ahead of time.

Share this post


Link to post
Share on other sites
I considered that, however the area is not an urban area. There's a single road passing through there. Otherwise they have to patrol a wooded area.

I find that UPS works in areas without roads too.

Share this post


Link to post
Share on other sites
Easy enough. Make a trigger, synchronise it to the cycle waypoint that loops them on their first path and make it's type switch. Do not group it to the other cycle that loops them on the last part of their patrol path.

Ohh, and forget deletewaypoint, just map the whole thing out ahead of time.

What happens though if the waypoint cycle is interrupted either several waypoints before, or after, the first cycle waypoint?

Will the patrol continue all the way round again until that waypoint is reached again?

Share this post


Link to post
Share on other sites
Easy enough. Make a trigger, synchronise it to the cycle waypoint that loops them on their first path and make it's type switch. Do not group it to the other cycle that loops them on the last part of their patrol path.

Ohh, and forget deletewaypoint, just map the whole thing out ahead of time.

I tried that, but what happens is they get to the final waypoint and they do not cycle. I think what part of the problem is is that they start in abnormal areas.

Two groups start in the water (in RHIBs) and five start in Mi17s which fly over and drop them off. There's get out waypoints and whatnot after the cycle. Essentially they need to exit their vehicles, walk to the area to patrol, and then patrol (and cycle) on that area. It's my understanding that they'll try to cycle through every waypoint after the switch trigger.

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  

×