OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: epsilonsun on 22 Oct 2008, 07:27:50

Title: how to set units never anti-air in a specify area?
Post by: epsilonsun on 22 Oct 2008, 07:27:50
I create a uav to location the emenies each side.

but units pay too much attention to the UAVs so that even dont attack each other.

help plz ,I need a script that in a specify area,set units like tank,APC,doesnt anti-air any more.just AA units does.

and PS. I use too much scripts(.sqs and .sqf) in my mission,so that its very lag,how can I optimize?


thanks!
Title: Re: how to set units never anti-air in a specify area?
Post by: Mandoble on 25 Oct 2008, 22:22:43
You may set captive the UAV.
Title: Re: how to set units never anti-air in a specify area?
Post by: bedges on 26 Oct 2008, 05:33:44
Unless your scripts are using fast loops, in other words loops without much pause between cycles, the lag won't be caused by them. Lag in a mission is (almost always) down to how much is going on in the editor. Air units are the worst offenders.