Jump to content

Nextor

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Posts posted by Nextor


  1. Hello !

    I have created a civilian zone and activated it. Everything went as planned.

    But...

    When I try to deactivate or delete it... the units won't get deleted !

    The code for the zone:

    fun=["Hadassah",[1,1,0],[10,1,40,4],[],[],[],[3,16,3,0,2]] spawn DAC_Zone;

    Activation, deactivation and deletion :

    [Hadassah] call DAC_Deactivate;

    [Hadassah] call DAC_Activate;

    ["Hadassah"] call DAC_fDeleteZone;

    West, East and Resistance works well - units are deleted as they should.

    fun=["Hadassah",[5,1,0],[10,1,40,4],[],[],[],[0,16,3,0,2]] spawn DAC_Zone;

    fun=["Hadassah",[5,1,0],[10,1,40,4],[],[],[],[1,16,3,0,2]] spawn DAC_Zone;

    fun=["Hadassah",[5,1,0],[10,1,40,4],[],[],[],[2,16,3,0,2]] spawn DAC_Zone;

    Anyone is having the same problem?

    Anyone has a solution ?

    Please help me, I'm sitting at this third day...


  2. I have played with side, unit type and behaviour.

    fun=["Hadassah",[5,1,0],[10,1,40,4],[],[],[],[1,16,3,0,2]] spawn DAC_Zone;

    Works perfectly. Resistance side zone works as well.

    While...

    fun=["Hadassah",[5,1,0],[10,1,40,4],[],[],[],[3,1,1,0,2]] spawn DAC_Zone;

    Does not work at all.

    Removing waypoint config did not change a thing.

    ["Hadassah"] call DAC_fDeleteZone;

    Does not work. It only removes zone, waypoints etc, but units stay where they were.

    I think there is a problem in DAC_Delete_Unit.sqf, but... :)

    //EDIT

    Can I set resistance to be friendly to everyone ?

    I only see three options.

    DAC_Res_Side = 1

    This variable defines the side which RACS are fighting for.

    You must (!) apply the same settings that are givenin the editor.

    0= resistance friendly to EAST

    1= resistance friendly to WEST

    2= resistance friendly to NOBODY


  3. Yes, indeed. It does deactivate the zone, but there is no effect on the civilian units. I have not tried deleting the zone, because I need to keep it.

    The code for the zone:

    fun=["Hadassah",[5,1,0],[10,1,40,4],[],[],[],[3,16,3,0,2]] spawn DAC_Zone;

    And the codes for the activation and deactivation:

    [Hadassah] call DAC_Deactivate;

    [Hadassah] call DAC_Activate;

    Try it for yourself :P

    I can't solve that. There is no sign of script error. Like something's missing.

    //EDIT

    GREAT script by the way :) Allows me to populate whole map with civilians, every village. But... there is this one little problem :)

×