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
) »
brief attack
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: brief attack (Read 722 times)
0 Members and 1 Guest are viewing this topic.
bootneckofficer
Guest
brief attack
«
on:
01 Jun 2006, 18:02:28 »
heya all,
how do i get a group of terrorists (a1 - a5) to shoot a couple of shots towards a truck (t1) by some good guys (i dont want the good guys to get injured), then the bad guys run away? any thoughts?
bootneckofficer
Logged
Gogs
Contributing Member
WWIIEC - Gracefully retired boss
Re: brief attack
«
Reply #1 on:
01 Jun 2006, 18:59:04 »
Well, getting the terrorists to target the truck can be done with
unitname
DoTarget
truckname
Then you can get them to fire with
unitname
DoFire
truckname
Then running off can be achieved with
unitname
move getpos
nameofanobjectintherightrirection
or
unitname
move getmarkerpos "
nameofamarkerintherightrirection
"
Getting them not to hit the guys in between is all about careful positioning. Make sure they are setcaptive true to stop the AI executing them too...
Logged
WWII OFP
|
Falkland MOD
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
) »
brief attack
Top of page