Home   Help Search Login Register  

Author Topic: Group Reinforcements (with respawn)...  (Read 795 times)

0 Members and 1 Guest are viewing this topic.

keou

  • Guest
Group Reinforcements (with respawn)...
« on: 05 Nov 2002, 23:40:21 »
Can anyone point me in the right direction for creating a script that will allow two groups to join?  I've tested a few, but they are all written with a specific soldier name in mind.  Once dead and respawned, the "name" of your player changes.  Is there any way to tag a script to the group rather than the soldier?  Any help would be greatly appreciated.  :-[

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:Group Reinforcements (with respawn)...
« Reply #1 on: 07 Nov 2002, 20:30:05 »
you mean something like:

in the init.sqs:
mygroup = group maingroupleader
...

respawn:
player join mygroup

or for two groups:
"_x join mygroup" foreach units MyOtherGroup


?
Dinger/Cfit

keou

  • Guest
Re:Group Reinforcements (with respawn)...
« Reply #2 on: 07 Nov 2002, 22:19:30 »
Thanks...I will work with that and see what I can create