Home   Help Search Login Register  

Author Topic: Grouping soldiers  (Read 1196 times)

0 Members and 3 Guests are viewing this topic.

pazuzu

  • Guest
Grouping soldiers
« on: 10 Jul 2004, 18:52:18 »
Hi, in the mission I'm making I have the player call in an artillary strike for the last objective. I have the radio command hidden until just before last objective but I found out only the leader can call it in.

How do I make it so any team member can use radio command & call for arty strike?

 I thought I had to put bossgroup=group this in the init of leader but this doesn't work.

Thanks.

ponq

  • Guest
Re:Grouping soldiers
« Reply #1 on: 10 Jul 2004, 23:34:31 »
instead of using a radio command you could use the addaction command.

pazuzu

  • Guest
Re:Grouping soldiers
« Reply #2 on: 11 Jul 2004, 00:30:07 »
Thanks, I looked at addaction command in command reference but I have no idea how it is used...

I know there is a way to group team so if leader dies the next in command will have access to radio command....I just cant remember how it works...

ponq

  • Guest
Re:Grouping soldiers
« Reply #3 on: 11 Jul 2004, 13:02:24 »
Afaik, the new leader will automatically be assigned by ofp, and he will therefor have acces to the radio command.

But what I understand from your first post is you want every group member to be able to call the artillery.

I assume you have 4 players in your MP mission, p1 p2 p3 and p4.

Once you reach the final stage you enable the action for all players. In your last part script add these lines:

artillerystrike = p1 addaction["Call Artillery", "artillery.sqs"]
artillerystrike = p2 addaction["Call Artillery", "artillery.sqs"]
artillerystrike = p3 addaction["Call Artillery", "artillery.sqs"]
artillerystrike = p4 addaction["Call Artillery", "artillery.sqs"]

this will give all units the option to call the artillery.

Now don't forget to remove the action once one player has requested the artillery.
eg. in artillery.sqs make the first line:

p1 removeaction artillerystrike
p2 removeaction artillerystrike
p3 removeaction artillerystrike
p4 removeaction artillerystrike

Does this make sense to you?