Home   Help Search Login Register  

Author Topic: vehicle follows player  (Read 579 times)

0 Members and 1 Guest are viewing this topic.

jollyolly

  • Guest
vehicle follows player
« on: 13 Dec 2002, 22:37:04 »
I am new to scripting, so any help would be great.

I want to make an ammo truck follow the player until a radio command tells the truck to stop. It should go wherever the player goes (obviousley with a gap between).

There may be a script for this already.

major asshole

  • Guest
Re:vehicle follows player
« Reply #1 on: 14 Dec 2002, 07:04:53 »

G'day

You could try  ammotruck DoFollow player1
and for a radio command you could try
 CommandStop ammotruck

hope this helps

L8R

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:vehicle follows player
« Reply #2 on: 14 Dec 2002, 09:06:00 »
Tracking scripts would do the job.

There are a couple in the ed depot. One of them is mine, so if you need help using it let me know.


Here is where all the tracking scripts are located:
http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_6


Here is my tracking script:

http://www.ofpec.com/editors/snippet_view.php?id=84



"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

jollyolly

  • Guest
Re:vehicle follows player
« Reply #3 on: 14 Dec 2002, 15:38:49 »
yeah, that should do it, thanx for the help :)