Jump to content
Sign in to follow this  
BlackDeath-CFH

Nameing a group?

Recommended Posts

what is the command you need to name a group? i have this:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">mygrp = group this; "_x moveincargo heli1" foreach units mygrp<span id='postcolor'>

but this puts you in a chopper if there is one there named heli1, what is the command that just names your group?

Share this post


Link to post
Share on other sites

I'm not sure that I really understood your question.

if you just write </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">mygrp = group this;<span id='postcolor'> in the init of a unit, then mygrp is the group of the unit.

Else, can you explain your question ?

Share this post


Link to post
Share on other sites

well i have a parachute script that told me to use a command ( mygrp = group this; "_x moveincargo heli1" foreach units mygrp ) but this puts you INSIDE the chopper. i just wanted to name my group so we dont start out in the chopper. im not good at explaining things.

Share this post


Link to post
Share on other sites

Excuse me, i'm french then i don't understood at all.

If i understand you, you want to use a script that allow you to eject all units in cargo's chopper.

But you don't want to begin in the chopper, that's right ?

Then when you arrived in Å• waypoint or something like that, you must call the script like that :

[group_name] Exec parachute.sqs

then if you have put in the init your group's leader :

group_name = group this

it should be good.

If i don't resolve your problem, post the script, plz.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×