Home   Help Search Login Register  

Author Topic: Need help please!  (Read 3942 times)

0 Members and 1 Guest are viewing this topic.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help please!
« Reply #15 on: 20 Sep 2007, 14:12:10 »
To load all the units of a group in a chopper instantly:
Code: [Select]
"_x moveInCargo heliname" forEach units groupname

Offline CAPITANSTRATOS

  • Members
  • *
Re: Need help please!
« Reply #16 on: 20 Sep 2007, 15:21:01 »
Two things, how can I create a group?? I can group units with a officer and some soldiers, but how can I make them behave as a group with a proper name?? And why you use _X??
Imagine my group is called A I should write "_x movincargo heli" for Each units A ?? With quotes?? nad where? in the officer init?

Please excuse my ingorance about all this

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help please!
« Reply #17 on: 20 Sep 2007, 16:08:14 »
I suppose you have already read the COMREF (buttom above), right?? forEach and the scripting topics.

Offline schuler

  • Contributing Member
  • **
Re: Need help please!
« Reply #18 on: 20 Sep 2007, 17:15:23 »
Semper Fi

Offline CAPITANSTRATOS

  • Members
  • *
Re: Need help please!
« Reply #19 on: 20 Sep 2007, 21:28:11 »
Thank's Mandoble! group problems solved. I can start the mission with all the group loaded in the flying chopper. Thank's!!

Now Schuler I can't see any script in your mission, simply waypoint and sinchronizes. I can get the landing point to work, for the insertion, ( I need to make my group to disembark ordering it ), but not for the pick up, I need to order my group to get in and then the choppers land and my units get in. Maybe If I separate myself of the group like you made in your mission??

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help please!
« Reply #20 on: 20 Sep 2007, 21:36:54 »
You dont need scripts to execute commands, commands and series of commands separated by ; may be used in:
- Init fields of any unit
- Activation fields of a waypoint. Note that some waypoint types never get active (HOLD, for example).
- Activation fields of triggers.
- Deactivation fields of triggers.

And exec is also a command, so you may execute scripts from any of the above indicated places as well as init.sqs script (if exists, it is executed as soon as a mission starts).

Offline CAPITANSTRATOS

  • Members
  • *
Re: Need help please!
« Reply #21 on: 21 Sep 2007, 15:00:46 »
Thank's! I can get my choppers and groups behave pretty well now! You guys are very friendly and kind to help me.
Now a crazy idea I have, imagine I have a patrol with 4 waypoints, is possible to put a enemy sauqd that appear in a different place every time you play the mission??

Offline schuler

  • Contributing Member
  • **
Re: Need help please!
« Reply #22 on: 22 Sep 2007, 03:57:07 »
in the unit of a enemy group leader, you will see a 'probability of presence", put that half way, do this in several enemy groups, it just means they have a 50% chance of being there.
 iam not sure about random areas though. but if you give them lots of waypoints your men could incounter them at any waypoint at random,,
ive added some thing i think you'll like attached
Quote
Now Schuler I can't see any script in your mission, simply waypoint and sinchronizes
i just was saying there's many ways of using choppers , scripts is one ;)
« Last Edit: 22 Sep 2007, 08:36:34 by schuler »
Semper Fi

Offline CAPITANSTRATOS

  • Members
  • *
Re: Need help please!
« Reply #23 on: 22 Sep 2007, 16:06:02 »
Thank's for the tip, just what I need about enemy patrols!
About the chopper, is great!! But how I can use it for my missions?? I will tell you, I'm making a mission on Vietnam, a chopper will pick us, will leave us a in a LZ and then we will make a patrol. The chopper will pick us when I call him. I also tought in a Dustoff chopper ready to pick the wounded mans If I call it. The problem is: Is possible to use this script with 3 choppers? and how, and in the same time using it for a Dustoff??

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help please!
« Reply #24 on: 22 Sep 2007, 16:33:26 »
A good starting point is always to check the OFP/Res tutorials in the ED

Offline schuler

  • Contributing Member
  • **
Re: Need help please!
« Reply #25 on: 22 Sep 2007, 18:17:46 »
CAP your welcome, what island are you using? any addons?
  if you want to use that heli map click, just copy all the scripts in the folder and past it into your mission folder. than copy the AI from the heli map click tute go to the map and place AI (heli pilots landing pad,ect) in you missions map. to do that  hold your mouse down and and run it over all the AI on the map, like a box, you''ll see sort a green box, this will highlite all the AI then press ctrl= c , and youve copyed them, exit and open your mission and press ctrl=v , pressdo  :clap: then you can move them where you want them by highliting them again and drag and drop them. to use 3 chopper you would have to alter the script. and for Dustoff look in the editors depot.
Semper Fi

Offline CAPITANSTRATOS

  • Members
  • *
Re: Need help please!
« Reply #26 on: 22 Sep 2007, 18:35:34 »
I'm using this

http://ofp.gamepark.cz/index.php?showthis=10665

And the last release from Vietnam experience, also the CSJ Hueys, I love the way it looks at the moment, will go back for dig all this stuff in a working mission