OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: terran4999 on 01 Jun 2008, 01:04:34

Title: Group follow Group
Post by: terran4999 on 01 Jun 2008, 01:04:34
hey, would anyone be generous enough to provide a script that makes a group of vehicle follow another group of vehicle

Thanks  :yes:  :yes: :D :D
Title: Re: Group follow Group
Post by: schuler on 01 Jun 2008, 03:44:12
name last vehicle in the first group ,,, then name the first vehicle in last group
Code: [Select]
blah DoFollow blah2put them in column as way points
cheers schuler
Title: Re: Group follow Group
Post by: terran4999 on 01 Jun 2008, 03:52:59
Dofollow command does not work
Title: Re: Group follow Group
Post by: schuler on 01 Jun 2008, 04:00:50
it should , but maybe try ,,, did you named the groups ,,,,
Code: [Select]
group2 DoFollow group1 .
might help ya there
Title: Re: Group follow Group
Post by: Rommel92 on 01 Jun 2008, 08:08:49
Code: [Select]
#loop
man1 doMove position man2;
~3
goto "loop"
Title: Re: Group follow Group
Post by: Cheetah on 02 Jun 2008, 21:39:09
Maybe Hoz can or will give permission to enable his script (http://www.ofpec.com/ed_depot/index.php?action=details&id=541) to be used in OFP.