Jump to content

Advice Please On How to Do A Looping Route Ground Unit With A Triggered Event To Start/Restart The Loop.


Recommended Posts

Posted

Salute

I hope the title sparked your interest and was not too confusing.

I am currently building a home base for my squad. I had the idea to give the airfield a bit of life of adding some moving ground units.

One of the units I am working on is a "Follow Me (skin can be found here https://www.digitalcombatsimulator.com/en/files/3300531/ ) unit.

My idea is this..

I have parked the unit at the exit path from the hangers. The unit is sat with a "Hold" condition with waypoints that lead to the runway and back to the starting point. The "HOLD" release is triggered by a taxiing plane entering a zone and setting a flag to true. The unit then drives off showing the way to the runway for the plane to follow (its a large airfield with lots of left and rights, and my squad get lost very easily). When the unit has got to the runway it returns to the start point and waits for another plane.

The loop will work once but will not start again when the second plane comes along.

I have tried adding a zone near the last waypoint that re-sets the flag but this is not working (or more likely I am doing something wrong)

Has anyone done something like this before? or can suggest what the structure of the triggers/zones/flags should be?

Many thanks in advance

DD_Friar

 

Visit the Dangerdogz at www.dangerdogz.com. We are a group based on having fun (no command structure, no expectations of attendance, no formal skills required, that is not to say we can not get serious for special events, of which we have many). We play DCS and IL2 GBS. We have two groups one based in North America / Canada and one UK / Europe. Come check us out. 

Posted
31 minutes ago, DD_Friar said:

The loop will work once but will not start again when the second plane comes along.


There are four types of triggers, from your description it looks like you are using a "once" trigger … that only works a single time. Use a "Switched condition" trigger instead.

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted (edited)

Salute,

I thought I should add evidence of what I have done so far. For testing I am using AI planes but is intended for players.

FollowMe Pic1.JPG

FollowMe Pic2.JPG

FollowMe Pic3.JPG

Edited by DD_Friar

Visit the Dangerdogz at www.dangerdogz.com. We are a group based on having fun (no command structure, no expectations of attendance, no formal skills required, that is not to say we can not get serious for special events, of which we have many). We play DCS and IL2 GBS. We have two groups one based in North America / Canada and one UK / Europe. Come check us out. 

Posted
On 7/4/2023 at 12:36 PM, DD_Friar said:

I thought I should add evidence of what I have done so far.

 

I would add FLAG OFF 101 to the 1st trigger condition, and FLAG ON 101 to the 2nd trigger condition, to make sure that the switched condition works.

If this doesnt work, Share the mission to try it a bit 🙂

 

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...