Home   Help Search Login Register  

Author Topic: doFollow...  (Read 1131 times)

0 Members and 1 Guest are viewing this topic.

Offline Meatball0311

  • Members
  • *
doFollow...
« on: 18 Aug 2007, 20:15:17 »
I looked through the forum and did not see any topics on doFollow.

I would like for a pair of AH-1Z's to escort transport helo's.  The transport helo's group leader is named helo1.  I thought a doFollow script would be the easiest way to do this.

This is my script:

_unit = _this select 0

_unit setCombatMode "YELLOW"
_unit setFormation "LINE" 
_unit setSpeedMode "NORMAL"
_unit setBehaviour "COMBAT"
_unit doFollow helo1

exit
------

I put this into the AH-1Z group leaders Init Field:
[this] exec "doFollow.sqs"


The transport helo group moves to its waypoint, but the escorts just hover. 

Is this the best and easiest method or would there be a better way to make helo escorts.

« Last Edit: 18 Aug 2007, 20:45:05 by Meatball »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: doFollow...
« Reply #1 on: 19 Aug 2007, 10:44:28 »
I think doFollow can only be used on units that are in the same group (which is a bit funny :scratch:..) :dunno:

You could try the doFollowUnit script (written by hoz) and see if it could be edited to do what you want, if doesn't work out of the box..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: doFollow...
« Reply #2 on: 21 Aug 2007, 06:56:28 »
doFollow is just a fancy way of saying "return to formation" in fact. :) commandFollow will actually say the command out loud.

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"