OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jester on 24 Jan 2003, 03:32:26

Title: I searched I really did REALLY !
Post by: Jester on 24 Jan 2003, 03:32:26
scenario:  1.) I start in town with a buddy (works perfect)
                2.) CamCreate Intro.sqs to Objective (works good)
                3.) Inserted a squad north of town (easy as pie)
                4.) Named them r1,r2,r3,r4,r5,r6,r7 (even easier)
                5.) Put a waypoint in town square for r's to goto (easy)
                6.) Did the MyGuy SetGroupId ["echo","groupcolor3"] (works)
                7.) Want r1,r2,r3,r4,r5,r6,r7 to join "echo" (PROBLEM!!!)

What should I put in the init field of a trigger activated by WEST or ANYBODY? I tried                                  r1,r2,r3,r4,r5,r6,r7 join echo        but it says missing (


Help me please oh GURU's of editing...................TIA
Title: Re:I searched I really did REALLY !
Post by: toadeater on 24 Jan 2003, 05:55:36
[r1,r2,r3,r4,r5,r6,r7] join group MyGuy should work. Or more simply:

[r1,r2,r3,r4,r5,r6,r7] join MyGuy

SetgroupID is just for the group's displayed name. If you want a genuine name for the group to use in scripts or triggers, you would do this:

grp1 = group MyGuy

Then you can do:

[r1,r2,r3,r4,r5,r6,r7] join grp1
Title: Re:I searched I really did REALLY !
Post by: Jester on 24 Jan 2003, 15:04:55
Thanks bro............... now #7 is (works thx to you!)
thank you again !!!