OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Krieg on 05 Apr 2010, 21:35:05

Title: Snipers searching designated area
Post by: Krieg on 05 Apr 2010, 21:35:05
I am currently in (very early) process of making Ghost Recon-ish mission focused around small scale spec-ops gameplay original Ghost Recon did offer. Now, since one of the teams will be sniper team, I want it to be a bit more useful as sniper support. OFP's sniper AI is not one of the brightest, obviously.

What I want to do is specify area (using onMapSingleClick command, no problems there) roughly 10 square kilometers (100m X 100m area, give or take) in which all units will be revealed to snipers, and they will be forced to fire upon every one of OPFOR infantry in it. This would be very easy to do if you could createunit a trigger, which, as far as I know, you can't.

Thanks in advance,
Krieg
Title: Re: Snipers searching designated area
Post by: dr. seltsam on 05 Apr 2010, 22:55:27
But you can have a preplaced trigger on the map, and setpos it to the desired location.
Title: Re: Snipers searching designated area
Post by: Krieg on 06 Apr 2010, 10:03:39
Hmm... Good idea! I never really thought of it!  :good:

Thanks,
Krieg