View previous topic :: View next topic |
Author |
Message |
Werewolf13
Joined: 20 Feb 2006 Posts: 25 Location: The HEART of Fly Over Country
|
Posted: Mon Feb 20, 2006 9:59 am Post subject: Creating a Dynamic Group only when enemy DETECTED - HOW? |
|
|
I would like to make a formation that sorties from a naval base but only if the player's sub is detected.
How would I accomplish this?
I think it would take a dynamic group that gets put on the map when the sub is detected and that would take a trigger.
Problem is I don't know how to determine if the sub has been detected.
Ideas? Suggestions?
Inquiring minds want to know. |
|
Back to top |
|
|
Molon Labe
Joined: 16 Jun 2004 Posts: 1052 Location: Bloomington, IN, USA
|
Posted: Mon Feb 20, 2006 10:04 am Post subject: |
|
|
Use Doctrine: Detect as the trigger condition. Check the 'use doctrine language' box for the trigger, and then there will be a page dedicated to doctrine; the Detect doctrine will be accessible from drop down menus. |
|
Back to top |
|
|
Werewolf13
Joined: 20 Feb 2006 Posts: 25 Location: The HEART of Fly Over Country
|
Posted: Mon Feb 20, 2006 10:23 am Post subject: |
|
|
attach the trigger to the sub?
and once that happens how do I use that to make the dynamic group appear? |
|
Back to top |
|
|
Molon Labe
Joined: 16 Jun 2004 Posts: 1052 Location: Bloomington, IN, USA
|
Posted: Mon Feb 20, 2006 10:56 am Post subject: |
|
|
I'm not positive, but I think this trigger should stand alone. The platforms detecting and being detected will be arguments of the doctrine.
To create the group, use the "create group" command at the end of the trigger. It's on the same dropdown as "run script." |
|
Back to top |
|
|
Molon Labe
Joined: 16 Jun 2004 Posts: 1052 Location: Bloomington, IN, USA
|
Posted: Mon Feb 20, 2006 10:56 am Post subject: |
|
|
[double post deleted]
Last edited by Molon Labe on Mon Feb 20, 2006 3:04 pm; edited 1 time in total |
|
Back to top |
|
|
FERdeBOER
Joined: 27 Mar 2002 Posts: 189 Location: EspaƱa (Spain)
|
Posted: Mon Feb 20, 2006 2:07 pm Post subject: |
|
|
Hello.
The detection trigger needs not to be atached to the sub.
For creating the Dynamic Group you have to put the ships where you want them to appear, with their respective waypoints, etc.
Then you create the group, include all the ships in it.
In the probability box you have to set 0, because if not, the gruop will appear at the end of the mission.
Finally, in the detection trigger, on the last page, you have to set "create dynamic group" and select the group.
Another thing, if you are planning to make goals or triggers for that group, you have to include them in the group itself. i.e: you make a D group with 3 ships and a destination triger, the total objets you have to set are 4 (the ships and the trigger).
Hope this helps. :know: |
|
Back to top |
|
|
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Mon Feb 20, 2006 2:41 pm Post subject: |
|
|
I have a working map for you if you want, the only weird thing is some times the sub detecting the other sub launch a torp, and the trigger doesn't work. :hmm: |
|
Back to top |
|
|
Werewolf13
Joined: 20 Feb 2006 Posts: 25 Location: The HEART of Fly Over Country
|
Posted: Mon Feb 20, 2006 6:21 pm Post subject: |
|
|
Thanks a bunch guys...
I think I've got it. Will give all your tips a try. |
|
Back to top |
|
|
|