Home   Help Search Login Register  

Author Topic: Car chase. how  (Read 474 times)

0 Members and 1 Guest are viewing this topic.

redfox

  • Guest
Car chase. how
« on: 19 Aug 2003, 11:49:09 »
Can some one tell me how to make one car follow another. Ones a Civ and the other is East. the DoFollow doesnt work out side of its "side i.e. west, east, res, etc." I've look every where and I can fond anything

Thanks :-\

redfox

  • Guest
Re:Car chase. how
« Reply #1 on: 20 Aug 2003, 01:00:03 »
So what I have been trying to do is have a cop car go around to way point. But when he sees a enemy he goes after it. This is a messed up script I was try to make:

#init
   _cop = _this
   DetectedEnemy=_bad
#loop
   _cop setCombatMode "GREEN"
   _cop doTarget _bad
   _cop setpos getPos _bad  <------- mabey a way to follow the bad guy?
   globalchat "Suspect found. In persute"

goto "loop" <---------- need to find a way to stop this after the bad guys dead or cant be found

Can anyone HELP? ???


Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Car chase. how
« Reply #2 on: 20 Aug 2003, 02:20:15 »
Redfox,

One post per question please... thanks ;)

All replies to this topic to here.

#Topic Locked