Home   Help Search Login Register  

Author Topic: how to set units never anti-air in a specify area?  (Read 1147 times)

0 Members and 1 Guest are viewing this topic.

Offline epsilonsun

  • Members
  • *
how to set units never anti-air in a specify area?
« 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!
« Last Edit: 22 Oct 2008, 07:33:14 by epsilonsun »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: how to set units never anti-air in a specify area?
« Reply #1 on: 25 Oct 2008, 22:22:43 »
You may set captive the UAV.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: how to set units never anti-air in a specify area?
« Reply #2 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.