OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ryankaplan on 09 Aug 2004, 14:08:58

Title: how to get a black-op to lase an area?
Post by: ryankaplan on 09 Aug 2004, 14:08:58
how can get an ai black-op to lase an area without him being in my squad. i need him to first target a t80 and then lase it with his laserdesignator.

i also need a ai  a10lgb pilot who also isn't in my squad to target and engage the laser targets lased by the blackop.

any help will be appreaciated. thanks alot.
Title: Re:how to get a black-op to lase an area?
Post by: Nulear_Man on 09 Aug 2004, 15:57:33
_unit = "Black Op (Laser)"
;That wont work in ofp its an Example
_Unit selectWeapon "LaserDesignator"
_unit Dotarget _T80
~5
_unit DoFIre _T80

ok
That should Work
Title: Re:how to get a black-op to lase an area?
Post by: Dubieman on 09 Aug 2004, 16:08:36
And A10lgbs engage anything, remove its cannon ammo so it doesn't start strafing and it automatically engages any laser with LGBs... ;D

Or check out this post on shootin at nothin and download the invisible targets I provided. ;)

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=18783
Title: Re:how to get a black-op to lase an area?
Post by: ryankaplan on 09 Aug 2004, 16:28:54
thanks alot everyone. does the invisible target include laser targets guilty?
Title: Re:how to get a black-op to lase an area?
Post by: Dubieman on 09 Aug 2004, 19:31:03
Yup, did you get them? I'm just to lazy to rezip them cause OFPEC doesn't allow you to post the same named zip files or something... :P

Laser works for LGB only.