Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Car chase. how
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Car chase. how (Read 476 times)
0 Members and 3 Guests 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 :-\
Logged
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?
Logged
Sui
Former Staff
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Car chase. how
Top of page