OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: R_skriver on 05 Nov 2003, 19:08:04

Title: How do I create a group???
Post by: R_skriver on 05 Nov 2003, 19:08:04
Hi

I have have been trying to make "my guys" rapple out of a chopper. The script says it needs [group,helo] to work. How do I form a group out of my men???

I have tried to look in the Unofficial Operation Flashpoint Command Reference Manual, but I found no answer  :-[

Title: Re:How do I create a group???
Post by: Spinor on 05 Nov 2003, 19:14:22
You can put the following code in any of your guys (preferably the leader) init line:
   myGroup = group this

myGroup is then the group you can refer to in the script, e.g.
   [myGroup, myHelo] exec "rapple.sqs"

You can use any other name instead of myGroup, just be consistent when refering
to it.
Title: Re:How do I create a group???
Post by: R_skriver on 06 Nov 2003, 16:05:16
Thanks!!!
Title: Re:How do I create a group???
Post by: _hammy_ on 08 Nov 2003, 18:53:36
solve topic then?