Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #37  
Old 09-26-2011, 06:41 PM
Mington Mington is offline
Approved Member
 
Join Date: Apr 2008
Posts: 29
Default

red_bomb1 TPassThrough 3 1 270836 152088 300

Very good thanks Ataros!

To Ming-parse then:-

If a Red bomber crosses a radius of 300m from a point X = 270836, Y = 152088
Then a trigger is generated

So str[0] and str[1] are XY coordinates?

Ahah yes they are, I tested this by dropping numbers in from known object positions and that looks good

TPassThrough 3 - is type of trigger, 3 is for ground units pass through.

1 or 2 is army (red/blue)


Ground unit red = 3 1
Ground unit blue = 3 2

Is that ok?

I will need to find out the first TPassThrough parameter, I can't see TPassThrough in the dlls

Ataros please is it possible for you to build a small test script with a simple "Plane crossed radius" message when triggered?

This now is where we (learners) all run into problems, we can see what needs to be done but it is at the end of a long lonely corridor

The usual links to the needed dlls then and the script begins, I will already be in flight some miles from the trigger zone at Biggin Hill for this test, I will be in a Single mission with an airstart, I will be in an RAF SPitfire

I will not be using a Trigger built in the FMB, not to complicate things with simpler ways (for bolting-on universal use later) - I will get Biggin's coordinates for the needed str[0] and str[1]

First call could be 'Are there any planes in the mission?' and the first message could be the type of plane I am flying

(That will be useful for people to play with, by modifying for 'Are there any trains...' '...ships in the mission' and so on, for a toe-in-the-water)

If there are planes in the mission, set up the test-trigger radius and get the message ready

This is the tricky bit Mayday Mayday

If you are busy, no worries and thanks again for the great info

Ming
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.