forEach using "I_G_Soldier_F" classname will select all I_G_Soldier_F, O_G_Soldier_F, and B_G_Soldier_F
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- No Bug
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
- Start ArmA 3
- Go to Editor
- Place units: I_G_Soldier_F, O_G_Soldier_F, and B_G_Soldier_F
- Preview scenario
- In debug panel, type {_x setDamage 1} forEach (entities "I_G_Soldier_F");
- All three units will die
- Local exec
Event Timeline
Comment Actions
https://community.bistudio.com/wiki/entities
Returns a list of all alive and dead entities of the given type or deriving from the given type
This is not a bug