Jump to content

Harzach

Member
  • Content Count

    4939
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

2517 Excellent

About Harzach

  • Rank
    Second Lieutenant

core_pfieldgroups_3

  • Occupation
    Audio Engineer

Profile Information

  • Gender
    Male
  • Location
    USA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Tangential to the topic, but why do you continually define the variable _veh? //snip _veh = _this #0; _veh removeWeaponTurret ["cannon_120mm_long",[0]]; _veh = _this #0; _veh removeMagazinesTurret ["20Rnd_120mm_APFSDS_shells_Tracer_Yellow",[0]]; _veh = _this #0; _veh removeMagazinesTurret ["12Rnd_120mm_HE_shells_Tracer_Yellow",[0]]; _veh = _this #0; _veh removeMagazinesTurret ["12Rnd_120mm_HEAT_MP_T_Yellow",[0]]; _veh = _this #0; _veh removeWeaponTurret ["LMG_coax",[0]]; _veh = _this #0; _veh removeMagazinesTurret ["200Rnd_762x51_Belt_Yellow",[0]]; // _veh is defined at the beginning and will remain so in that scope, there is no need to redefine it before every use. That's what variables are for. //snip _veh = _this #0; _veh removeWeaponTurret ["cannon_120mm_long",[0]]; _veh removeMagazinesTurret ["20Rnd_120mm_APFSDS_shells_Tracer_Yellow",[0]]; _veh removeMagazinesTurret ["12Rnd_120mm_HE_shells_Tracer_Yellow",[0]]; _veh removeMagazinesTurret ["12Rnd_120mm_HEAT_MP_T_Yellow",[0]]; _veh removeWeaponTurret ["LMG_coax",[0]]; _veh removeMagazinesTurret ["200Rnd_762x51_Belt_Yellow",[0]]; //
  2. Harzach

    Spawning randomly playable units

    How many players are joining your server to test this? If you have multiple playable units, but only one person joins the server, only that player's unit will be moved. To be clear, a playable unit will only be moved once it is being controlled by a human player. That is what hasInterface is checking for.
  3. Harzach

    Spawning randomly playable units

    Where are you placing the script? It should be in initPlayerLocal.sqf. "Player" is a command.
  4. Harzach

    SetOwner doesn't work ?

    https://community.bistudio.com/wiki/setOwner
  5. The ACE Wiki isn't comprehensive. Bookmark the ACE GitHub for future browsing: https://github.com/acemod/ACE3/tree/master/addons
  6. Harzach

    ChatGPT is Awesome

    And it's great for writing totally natural-sounding responses to forum posts! Cool!
  7. Harzach

    Arma 3 Creator DLC: Reaction Forces

    And unfortunate that there are those with such a narrow view of what Arma is and can be.
  8. Harzach

    Hunting task issues!

    Give it a second waypoint, type "CYCLE." It will return to its start position then move to the SAD waypoint, ad infinitum. Speaking of which, setWaypointLoiterRadius is only relevant to the "LOITER" waypoint type, which is itself only relevant to aircraft.
  9. Harzach

    Arma 3 Creator DLC: Reaction Forces

    Yes. If you aren't interested, don't buy it.
  10. Harzach

    Hunting task issues!

    I'm picking up two invisible characters in the last line of your code. Impossible for me to say if they are being created when I copy, or if they are in your code already. These characters seem to pop up most when I copy/paste from the Biki - which makes a lot of code found on the forums suspect. Always check via a code block here, or in your editor. In a forum code block, they appear as red dots. In Notepad++, check View > Show Symbol > Show Non-Printing Characters.
  11. Harzach

    AI artillery script not working

    ACE doing ACE things, probably.
  12. Harzach

    AI artillery script not working

    Check your syntax: https://community.bistudio.com/wiki/doArtilleryFire Also, try in vanilla (unmodded) Arma first.
  13. Best I can figure at the moment is all mags in inventory, plus any loaded mags in unequipped weapons - NOT including any weapons you may have in your backpack/vest/uniform. That might take some other voodoo. private _rounds = 0; magazinesAmmoFull player select { (_x #3 == -1 || (_x #2 == true && _x #4 != currentMuzzle player)) } apply { _rounds = _rounds + _x #1 }; hintSilent str _rounds; So if you have your primary equipped, this will skip that mag, but will include the mags in your handgun and secondary.
  14. Harzach

    Roles icons .pbo

    Do you mean the map icons? These can be found in ui_f_data.pbo > Map > Vehicle Icons.
×