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
) »
How to make for that a unit shoot to nobody?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How to make for that a unit shoot to nobody? (Read 1339 times)
0 Members and 1 Guest are viewing this topic.
Aldo15
OFP-addict
Former Staff
How to make for that a unit shoot to nobody?
«
on:
31 Jan 2011, 04:49:21 »
Hi!
I'm trying to make that a chopper or any unit,
(Soldier,Chopper,Tank,etc...) Shoot, but without units. I mean, that the unit is alone.
For example:
A Cobra shoot, but there are not anybody. Only shoot for shooting
~Aldo
Logged
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom
savedbygrace
Intel Depot
Administrator
Be swift to hear...slow to speak...slow to wrath.
Re: How to make for that a unit shoot to nobody?
«
Reply #1 on:
31 Jan 2011, 10:26:21 »
Some times but not always, you can use the
DoFire
or
Fire
commands combined with
DoTarget
or
DoWatch
to get them looking in the proper direction.
But AI control is very inconsistent. In fact, it is so much so that some folks have taken the liberty to create invisible objects with priority levels adjusted to become threatening to AI. They work very well.
Fox's Invisible Targets
addon is small but very helpful in achieving what you need.
Logged
Aldo15
OFP-addict
Former Staff
Re: How to make for that a unit shoot to nobody?
«
Reply #2 on:
31 Jan 2011, 19:35:06 »
the unit shoot one time, and i don't understand Why the unit does not look his objective? if I'm using the Dotarget and Dowatch command.
~Aldo
Logged
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom
savedbygrace
Intel Depot
Administrator
Be swift to hear...slow to speak...slow to wrath.
Re: How to make for that a unit shoot to nobody?
«
Reply #3 on:
31 Jan 2011, 20:26:39 »
Like I said, it's inconsistent. The command does not force a unit to fire until commanded not to. When it works, it only works as many times as you tell it to. The better way is to just use the invisible targets.
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
) »
How to make for that a unit shoot to nobody?
Top of page