[DE] T-Bone Posted February 28, 2024 Posted February 28, 2024 Hello everyone, I have a question about the mission editor and the subsequent changing of positions of units and structures. Idea: The plan is to have various units and structures such as FARP tent, FARP ammo and fuel truck in an area of an airport, this should represent a kind of warehouse. These should then change their position when certain cargos are set down in a trigger zone. I want to simulate a functional FARP set-up in the field and at the same time introduce some immersion, as the warehouse is then gradually emptied. I went looking for appropriate scripts and included an example in the attached .miz. It works so far, but the FARP tent always spawns at the bullseye and not at the position I defined (in the example at Tabqa airport) Does anyone have an idea how I can solve this behaviour? unit_location.miz Main machine: Ryzen 7 5800X3D, 64Gb 3600Mhz, Gainward RTX 5080 Phoenix V1 Second machine: Ryzen 5 5600X, 32Gb 3600Mhz, ASrock 7700 XT Equipment: microHELIS Bell 206 Pedale + Toe-Brakes, microHELIS OH-58D Collective, DIY FFB-Rhino clone, Realteus Forcefeel, TrackIR 5
Solution cfrag Posted February 28, 2024 Solution Posted February 28, 2024 (edited) 26 minutes ago, [DE] T-Bone said: Does anyone have an idea how I can solve this behaviour? change your script to ["x"] = 77192, -- use dcs local coords ["y"] = 244632, -- use dcs local coords when spawning, you must use DCS local coords for your objects. And "y is z" unit_location.miz Edited February 28, 2024 by cfrag 1
[DE] T-Bone Posted February 28, 2024 Author Posted February 28, 2024 17 minutes ago, cfrag said: change your script to ["x"] = 77192, -- use dcs local coords ["y"] = 244632, -- use dcs local coords when spawning, you must use DCS local coords for your objects. And "y is z" unit_location.miz 12 kB · 1 download Thank you for the quick solution! Main machine: Ryzen 7 5800X3D, 64Gb 3600Mhz, Gainward RTX 5080 Phoenix V1 Second machine: Ryzen 5 5600X, 32Gb 3600Mhz, ASrock 7700 XT Equipment: microHELIS Bell 206 Pedale + Toe-Brakes, microHELIS OH-58D Collective, DIY FFB-Rhino clone, Realteus Forcefeel, TrackIR 5
Recommended Posts