Home   Help Search Login Register  

Author Topic: I'm a Scripting Idiot and Need some Help.. PLEASE!  (Read 470 times)

0 Members and 1 Guest are viewing this topic.

Ddart

  • Guest
I'm a Scripting Idiot and Need some Help.. PLEASE!
« on: 25 Dec 2002, 06:35:23 »
Ok here's my dilema I'm building a mission where a 6 man sqad of recon guys captures an opfor general I need a script for the trigger that will allow the opfor general to attach himself to any of the 6 remaining recon guys.. I can't seem to get the "join" command to work  any help would be greatly appreciated. ???

Totibbs

  • Guest
Re:I'm a Scripting Idiot and Need some Help.. PLEASE!
« Reply #1 on: 25 Dec 2002, 16:34:37 »
Long long ago Ive red something about sidechange.

maybe you should let the gen. do a sidechange and then let him join to the squad...

just give it a try

Chomps

  • Guest
Re:I'm a Scripting Idiot and Need some Help.. PLEASE!
« Reply #2 on: 26 Dec 2002, 20:26:45 »
You do not need to change sides in order to group up.

If the six guys are part of the same squad, then simply give the squad a name.  In the init line of the lead unit, put Alpha = group this; and replace Alpha with whatever name you want to give the group.  It does not matter if the leader dies or not, his group will retain the name.

So, when you want the general to join up with the recon guys, use this line:

[General] join Alpha;

Of course, replace General with the name you gave the general, and Alpha with whatever you named the group.

I am not sure, but you may have some trouble if the general's rank is too high.  To be on the safe side, I would make the general a private.