Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

gersen

Member
  • Content Count

    44
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by gersen

  1. In our server we have a script with a timer that give the server a restart command every few hour. After the last game update this command is not working, it works if you write it manually but not with the script. Anyone can help?
  2. gersen

    make civilian shoot

    thanks, this is what I was looking for: while { alive player} do { _man fire (currentWeapon _man); };
  3. I can make the civilian shoot at me. The problem is that we are 1 meter apart and they move away before start shooting. I want them shoot immediately, like the opfor. How?
  4. Someone can post some working example on the creation of Displays. I can't get it work;
  5. gersen

    createDisplay

    I can't find anyone empty I want to be able to move while opened, interacting with the object you are looking
  6. Good job! Now can start the questions: How to set a captive unit (without module)?
  7. gersen

    createDisplay

    so I need to create an addon with the class in the config?
  8. gersen

    createDisplay

    what i need is how to define the class called
  9. I'm very interested in the way the ace3 interaction menu works. I understand that when you push the key the dialog is been created, an eventhandler "mousemoving" is added (get the movement of the cursor and then fix it in the center), a loop starts (the icon are created). I have no idea on how these work: - how to move the camera,walking,... with a dialog opened - hot the icons are fixed in a 3d position -how to interact with the icon Someone can explain how these are made?
  10. I'm very interested in the way the ace3 interaction menu works. I understand that when you push the key the dialog is been created, an eventhandler "mousemoving" is added (get the movement of the cursor and then fix it in the center), a loop starts (the icon are created). I have no idea on how these work: - how to move the camera,walking,... with a dialog opened - hot the icons are fixed in a 3d position -how to interact with the icon Someone can explain how these are made?
  11. I like very much the interaction menu and I'm trying to understand how it works but there are lot of things I din't understand. Someone can help me and explain step by step what happen from the push of the key until its release?
  12. Is possible to import a config file from a mod to a mission?
  13. gersen

    config.bin

    Is possible using create new object with cfgWeapon. I'd like to link the came texture of vests and helmets to the missions, without the need of a mod. The uniforms have their hiddenselection, so I can change it via setobjectexture, but the other gear have no hiddenselection.
  14. gersen

    Problem with while do loop

    yes, the position is an array
  15. gersen

    Agm hostage rescue

    take a look here https://github.com/KoffeinFlummi/AGM/wiki/For-Mission-Makers#29-handcuffing-units
  16. gersen

    Problem with while do loop

    maybe because _selectedBuilding is an object
  17. Can you post the script?
  18. work only if the heli is on ground, if in the air he shoots with the rifle. Even doing a forceWeaponFire he doesn't shoot, only take aim and put the launcher away;
  19. use the function BIS_fnc_setTask here the description Description: Set a task parameters. Create the task when it doesn't exist. Parameters: 0: STRING or ARRAY - Task ID or array in the format [task ID, parent task ID] 1: Task owner(s) BOOL - true to set task of all playable units OBJECT - set task of a specific object GROUP - set tasks of all objects in the group SIDE - set tasks of all objects of the given side ARRAY - collection of above types 2: ARRAY or STRING - Task description in the format ["description", "title", "marker"] or CfgTaskDescriptions class 3: Task destination OBJECT ARRAY - either position in format [x,y,z], or [object,precision] as used by setSimpleTaskTarget command 4: Task state STRING - can be one of following: "CREATED" "ASSIGNED" "AUTOASSIGNED" ("ASSIGNED" when no task is assigned yet, otherwise "CREATED") "SUCCEEDED" "FAILED" "CANCELED" BOOL - true to set the task as current 5: NUMBER - priority. When a current task is completed, system select a next one with the larges priority >= 0 6: BOOL - true to show notification (default), false to disable it 7: BOOL - true to set task globally (default), false to set it only locally 8: STRING - task type from CfgTaskTypes, if not defined, type "" is being used 9: BOOL - false to disable shared objective counter (default), true to enable it Returns: STRING - Task ID or a check for the faction { if (_x side == "WEST")then{ _x createsimpletask .....; }; }foreach playableUnits;
  20. How can I get the list of items attached on a wepon in a weaponholder?
  21. gersen

    WeaponHolder Items

    :j: I've tried this on the wrong variable...
  22. A way to prevent respawn form a part of the mission?
  23. gersen

    Respawn

    :j: Miscomprehention with my friend. He needed only sequence multiple respawn...
×