Page MenuHomeFeedback Tracker

3D-Eden Editor: "Placement Radius" does not work
Feedback, NormalPublic

Description

The "Placement Radius"-function in 3D-Eden Editor does not work with more than one placed group of soldiers

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Start Arma 3
  2. Go to Editor
  3. Place a group of soldiers
  4. Select "Group-Icon" and go to "Attributes"
  5. Set "Placement Radius to 500

(It works for one group - The group is placed in the given radius)

  1. Copy the group (or repeat steps 1.-5.) and paste it
  2. Optional: Copy'n a couple more
  3. Test Mission: Only one (the last-edited group will be placed in the set radius, all the rest will spawn exactly at position of actual placement)

Event Timeline

besthunter7 renamed this task from 3DbEden Editor"Placement Radius" does not work properly to 3D-Eden Editor: "Placement Radius" does not work.Jun 28 2017, 9:21 PM
besthunter7 updated the task description. (Show Details)
besthunter7 changed Severity from None to Major.
besthunter7 changed Reproducibility from N/A to Always.
besthunter7 edited Steps To Reproduce. (Show Details)
besthunter7 changed Operating System from Windows 7 to Windows 10 x64.
Rimsiakas added a subscriber: Rimsiakas.EditedNov 27 2020, 11:33 PM

I was going to report the same thing. Arma version 2.0.146.773
In the meantime you may copy this into the init field of the squad:

minimumDistance = 0; 
maximumDistance = 500; 
distanceFromOtherObjects = 0; 
maxGradient = 0.6; 
waterMode = 0; 
shoreMode = 0; 
groupLeader = leader this; 

randomPosition = [groupLeader, minimumDistance, maximumDistance, distanceFromOtherObjects, waterMode, maxGradient, shoreMode] call BIS_fnc_findSafePos; 

{  
 if (_x != groupLeader) then {  
  _relDis = _x distance groupLeader;  
  _relDir = [groupLeader, _x] call BIS_fnc_relativeDirTo;  
  _x setPos ([randomPosition, _relDis, _relDir] call BIS_fnc_relPos); 
 };   
} forEach units this;  
groupLeader setPos randomPosition;

You may modify the variables on the top. The documentation of what they do is here: https://community.bistudio.com/wiki/BIS_fnc_findSafePos

R3vo added a subscriber: R3vo.Nov 28 2020, 12:54 PM

Can confirm!

Repo Mission:

dedmen added a subscriber: dedmen.EditedJul 21 2023, 12:07 PM

Typo in code caused it to move only the last placed group.
But, the last placed groups init would run last, and their init would move it back to original position.

Fix for https://feedback.bistudio.com/T169079 turned this wrong code to turn into a crash instead

dedmen changed the task status from New to Feedback.Jul 21 2023, 12:15 PM

2.14, 2.12 prof v16