Scifer Posted October 8, 2022 Share Posted October 8, 2022 (edited) I want to start a mission on air or ground at random position, altitude and heading. How can I spawn a non-AI unit like player/client using MOOSE? Edited October 14, 2022 by Scifer Link to comment Share on other sites More sharing options...
Kanelbolle Posted October 10, 2022 Share Posted October 10, 2022 I have not seen anything suggesting that there is any support for this in DCS. Player slots can't be made or moved after mission start. 1 WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/ Link to comment Share on other sites More sharing options...
toutenglisse Posted October 10, 2022 Share Posted October 10, 2022 (edited) @Scifer and @Kanelbolle, the simplest way is to use mist function : MIST respawnInZone - DCS World Wiki - Hoggitworld.com . It works for a "Player" unit airborne (example attached - Player respawn himself randomly in zone "1" using a F10 radio item). Other ways exist with script and much more code, using DCS and/or mist function to collect unit datas ("player" or "client", but SP), edit the datas with randomness (position, route, airborne or grounded, loadout, unit type or whayever), and then spawn "Player" unit with these modified datas. test-Player-respawn-in-zone.miz Edited October 10, 2022 by toutenglisse 1 Link to comment Share on other sites More sharing options...
Grimes Posted October 10, 2022 Share Posted October 10, 2022 7 hours ago, Kanelbolle said: I have not seen anything suggesting that there is any support for this in DCS. Player slots can't be made or moved after mission start. An aircraft set to the skill of "player" should be able to be spawned, but it doesn't work for client and is only functional in single player. At least that is how it has worked originally. It isn't often used so there is a chance it has changed over the last nearly a decade. Given the above conditions any script you have that is capable of spawning a new group should work. It might be best to "overwrite" an existing player aircraft though. 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
Recommended Posts