OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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.
-
_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
-
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
-
thanks alot everyone. does the invisible target include laser targets guilty?
-
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.