tortuosit 485 Posted September 5, 2018 Hi guys, I am editing another guys code. It is about spawning units in houses and I want to test dynamic simulation. But it did not start, units happily moved even when I was miles away. enableDynamicSimulationSystem true; [...] _unit = _milGroup createUnit [_unitType, _newPos, [], 0, "NONE"]; _unit setpos _newPos; _unit enableDynamicSimulation true; hint str (dynamicSimulationEnabled _unit); Relevant code. The hint returns "false" - How is it possible? Share this post Link to post Share on other sites
Janez 507 Posted September 5, 2018 In 3den you can only tick Enable Dynamic Simulation for groups or objects, not units. For units you can tick Wake-Up Dynamic Simulation. So maybe it need to be group in the script as well? 1 Share this post Link to post Share on other sites
diwako 400 Posted September 5, 2018 You most likely need to lower the distances for dynamic simulation to kick in using the following two commands or just set them in eden per mission basis. https://community.bistudio.com/wiki/setDynamicSimulationDistanceCoef https://community.bistudio.com/wiki/setDynamicSimulationDistance 1 Share this post Link to post Share on other sites
tortuosit 485 Posted September 5, 2018 Well now I have set ""Group" setDynamicSimulationDistance 100;" And still, the group is in the north of Stratis, I am (player) in the south end, and I can see, all 3 members of the group move. Even after minutes. Share this post Link to post Share on other sites
diwako 400 Posted September 5, 2018 As mentioned by Janez, have you tried to add the dynamic simulation to the group of the untis as in _milGroup enableDynamicSimulation true; I personally only touch the setting of dynamic simulation in the editor and just enable it on ais, groups and objects upon them spawning. 1 Share this post Link to post Share on other sites
tortuosit 485 Posted September 5, 2018 Guys, I was blind. Happily confused groups with units. As it seems, dyn. sim. has to be applied to groups. EDIT: it works. Share this post Link to post Share on other sites