Jump to content

Recommended Posts

Posted

Hi there,

 

Here is the scenerio for the PvP:

 

There is a predefined zone with 20nm radius over one of airfields.

 

If one coalision enters this zone AND holds it for certain amount of time time -say 15 mins- by preventing "other coalision" to enter this zone, the scenerio ends with success of holder.

 

I couldnt figure out with ME tools:

 

1. how to set and start timer

2. check if "other coalision" enter this zone when counter starts

3. if "other coalision" enters zone, reset timer

4. And if time is up and "other coalision" could not enter, how to end scenerio (I know END SCENERIO as action but i couldnt figure out "condition" )

 

 

In other words, i got stuck on setting, starting and resetting time issue by checking zone events.

 

Any ideas?

 

Many thanks in advance. :smilewink:

ASUS TUFZ270 MARK 1 / Intel i7-7700K @4.8Ghz / 32GB DDR4 @3000Mhz / Nvidia GTX 1060 6GB / 3x TS240GSSD20S SSD / Philips BDM4350 / TrackIR 5

Posted

Flags

 

I think you need to set flag when timer starts, and disable flag if someone enter for some period (like can stay there for 5 min).

 

And when the flag has been active for X minutes, coalition wins.

i7-8700k, 32GB 2666Mhz DDR4, 2x 2080S SLI 8GB, Oculus Rift S.

i7-8700k, 16GB 2666Mhz DDR4, 1080Ti 11GB, 27" 4K, 65" HDR 4K.

Posted

Thank you Fri13

 

i will try your suggestion but i have question on that,

 

How to start timer, is it TIME SINCE FLAG?

ASUS TUFZ270 MARK 1 / Intel i7-7700K @4.8Ghz / 32GB DDR4 @3000Mhz / Nvidia GTX 1060 6GB / 3x TS240GSSD20S SSD / Philips BDM4350 / TrackIR 5

Posted

A CONTINUOUS ACTION type trigger will iterate every second so:

 

1 switched type trigger for each coalition to check if a coalition is in the zone uncontested, which sets a flag

 

1 continuous trigger for each coalition that executes FLAG INCREASE by 1 as long as the coalition remains in the zone uncontested

 

1 switched trigger that deactivates the timer flags and zone flags, effectively resetting the timer, if the zone becomes contested or the members of either coalition completely leave the area.

 

1 trigger to check when the blue timer = 900 (15 min) and 1 trigger to check when the red timer = 900 and display an appropriate message.

Posted

Hi feefifofum,

 

Thank you for your suggestion.

 

I have tried and yes, it is working.

ASUS TUFZ270 MARK 1 / Intel i7-7700K @4.8Ghz / 32GB DDR4 @3000Mhz / Nvidia GTX 1060 6GB / 3x TS240GSSD20S SSD / Philips BDM4350 / TrackIR 5

  • Recently Browsing   0 members

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