OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Armo-X- on 01 Oct 2003, 05:34:20

Title: Joining up
Post by: Armo-X- on 01 Oct 2003, 05:34:20
 Lets say ive got a Officer, and about 8 other guys just standing around. None of them are assigned to a group or anything.

 How would i make it, for when the officer hits a trigger, for the other 8 guys to join up with him? An example script would be much appreciated :D

 Ive tried the join command, but i dont know how to assign that Officer to a group :(

Thanks in advance!!
Title: Re:Joining up
Post by: _hammy_ on 01 Oct 2003, 06:27:00
put this on a trigger On Activation field:

Code: [Select]
[unit_one, unit_two] join leader_one