Jump to content

Recommended Posts

=IL2AU=chappyj
Posted (edited)

Hey all, 

looking for some ideas on a counter/timer setup that has me stumped currently. 

 

basic intent is: 

 

adv. trigger ---> behaviour ----> counter: 1, reset yes  ---> 1 second timer ---> repeat counter while active ---> counter: 50 ---> objective complete > mission end. 

 

in english, trying to set up a counter that of value 1 with reset on which will loop at 1 second intervals and continue to add +1 each second to the counter:50 until that triggers mission end. 

Used in evaluating the duration of control of say an airfield. (advanced trigger, Behaviour)

 

currently only issue i am having is setting up the middle bit with the counter reset and trigger every 1 second. The overall structure works if the mission end counter is set to 1. so there's no issue along the chain, just the repeating count element.

 

i think it has to include the counter and timer combo in order to allow it to be interrupted and then continue again when activated(using a separate activate/deactivate logic to bring it up or down when the airfield changes ownership.)

 

ideas on setting up this loop?

Edited by =WFPK=chappyj
=IL2AU=chappyj
Posted

ok so i figured it out 10 minutes later. having been stumped on it for the previous whole day. 

 

i was over engineering the problem. .

 

counter 1, reset,  ----> timer .5 sec. -----> counter 1, reset -----> timer . 5 sec. 
 

2 counters triggering each other .5 seconds apart. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...