• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /General
  • /A3G-6
Back
1

allDeadMen returns not only men

1

State

Done
Issue key
A3G-6
Access
Public
Space
Arma 3
Project
General
Creator
schatten
Created
Aug 9, 2026
Views
146
Issue Type
Bug/Error
Section
Game Version
2.20
Was this also present in the previous version?
—
Severity
It would be nice to fix this
Section
Operating System
Windows
Windows
Windows Version
Windows 11
Description

As the title says, allDeadMen command returns not only men, but also animals (and maybe something else?).

Launch a mission, kill a rabbit and (or) a snake, exec allDeadMen apply { typeOf _x } in the debug console, and ["Rabbit_F", "Snake_random_F"] will be returned.

Reactions

Activity

    about 2 months ago
  • schatten
    created issueabout 2 months ago
  • about 2 months ago
  • bis_fnc_kk
    Moderator
    (edited)
    about 2 months ago
    bis_fnc_kk
    Moderator
    (edited)
    about 2 months ago

    This behaviour was well documented as of 21:50, 5 October 2013 https://community.bistudio.com/wiki/allDeadMen

  • bis_fnc_kk
    changed state to
    DONE
    about 2 months ago
  • schatten
    about 2 months ago
    schatten
    about 2 months ago

    Did you mean "including agents"? If so, then I expected that the command returns human agents, not all agents. There is allDead command for this. Isn't that logical?

  • bis_fnc_kk
    Moderator
    (edited)
    about 2 months ago
    bis_fnc_kk
    Moderator
    (edited)
    about 2 months ago

    No, agents are agents

    agents apply {typeof agent _x} // ["Snake_random_F","Snake_random_F","Snake_random_F","Rabbit_F"]

  • bis_fnc_kk
    Moderator
    (edited)
    about 2 months ago
    bis_fnc_kk
    Moderator
    (edited)
    about 2 months ago

    >There is allDead command for this. Isn't that logical?
    allDead includes vehicles allDeadMen excludes vehicles. I did not make it, so cannot tell you teh logic, but it was there for too long to change behaviour

  • schatten
    about 2 months ago
    schatten
    about 2 months ago

    It's still somehow strange -- despite the presence of the word "Men", I'll have to use additional filtering to exclude agents: allDeadMen select { _x getEntityInfo 0 }. The same I can do using allDead command: allDead select { _x getEntityInfo 0 }. It turns out that the only advantage of allDeadMen is the smaller size of the returned array.

  • bis_fnc_kk
    Moderator
    about 2 months ago
    bis_fnc_kk
    Moderator
    about 2 months ago

    I agree but as I said the behavious cannot be changed and as it is a Nular command alt syntax cannot be added. This means new command and for something trivial like this (all)Dedmen would not be happy

  • schatten
    about 2 months ago
    schatten
    about 2 months ago

    Understood, thanks.

You are not signed in. Please sign in to see more details and to reply.

State

Done
Issue key
A3G-6
Access
Public
Space
Arma 3
Project
General
Creator
schatten
Created
Aug 9, 2026
Views
146