OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: calm_terror on 16 Oct 2003, 07:04:40

Title: dofollow
Post by: calm_terror on 16 Oct 2003, 07:04:40
How can I get this command to work I tried everytihng and it never works..
Title: Re:dofollow
Post by: Kaliyuga on 16 Oct 2003, 09:01:22
Command:
DoFollow
 
Description:
Causes selected unit to follow a unit. Effectively makes him return to formation. This command will not cause him to follow anyone but his leader. Use the Join command to do that. ;)

:cheers:
 
Title: Re:dofollow
Post by: calm_terror on 16 Oct 2003, 09:50:56
crap then how do you get like a second squad to follow another squad?
like BIS did in res with that oen armor battle where liek another squad of armor follows your squad.
Title: Re:dofollow
Post by: macguba on 16 Oct 2003, 10:07:27
This keeps coming up and I keep meaning to write up my script and put it in the Ed Depot.   I'll get round to it one day.   Anyway, in the meantime here is the raw script from my beta mission Regina Proeliorum. (http://www.freewebs.com/macguba/)   It works, but you'll have to hack it about a bit to make it do exactly what you want.    Use it in your own mission by all means.

Alternatively/additionally, depbo the official mission in question and see how BIS did it.