Jump to content

Recommended Posts

Posted

I have set a Trigger Zone.

 

When the player first goes thrue the zone, he will receive a first message.

When he comes thrue the zone a second time, it's another message, and so one up to 8 times.

 

The problem I have is that all messages are delivered after the first passage thrue the trigger zone. What is wrong with the way I'm doing it ?

 

Mission start, setup Flag N° 1

 

Trigger 1 : Occurence : Once

Conditions : Unit inside zone, Flag 1 is true

Actions : Flag 1 off, Flag 2 on

 

Trigger 2 : Occurence : Once

Conditions : Unit inside zone, Flag 2 is true

Actions : Flag 2 off, Flag 3 on

Win 10 | i7 8700 Coffee Lake OC @ 4.9Ghz | 32Go Ram | 1080Ti | DCS on SSD | Thrustmaster HOTAS Warthog | Saitek Rudder | TrackIr 5 Pro

Posted

Flag 1 is being switched on the moment you enter. You are still in the trigger zone presumably so flag 2 is true and you're in the zone, hence flag 2 is switched off and flag three is switched on. You're still in the zone so the next message plays etc...

Always remember. I don't have a clue what I'm doing

Posted

Ok, so i'll unset and set the next flag when getting out of the zone.

 

Thanks for fast reply

Win 10 | i7 8700 Coffee Lake OC @ 4.9Ghz | 32Go Ram | 1080Ti | DCS on SSD | Thrustmaster HOTAS Warthog | Saitek Rudder | TrackIr 5 Pro

Posted

In fact, that still don't work and I don't find the right way to do it.

 

Tried with flag check coming into zone and flag of and new flag coming out, didn't work.:(

 

My latest idea is in the sample here attached.

 

Would be nice if someone could help me.

Sample.miz

Win 10 | i7 8700 Coffee Lake OC @ 4.9Ghz | 32Go Ram | 1080Ti | DCS on SSD | Thrustmaster HOTAS Warthog | Saitek Rudder | TrackIr 5 Pro

Posted

I attached a modified version of what it looks like you were trying to build.

 

The reason why your setup didn't work was because each time the aircraft was outside of the zone, you iterated to the next set of flags, which made each subsequent condition for being outside the zone true.

Sample2.miz

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

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