Jump to content

Spawning player unit with random properties [MOOSE]


Scifer

Recommended Posts

@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 by toutenglisse
  • Thanks 1
Link to comment
Share on other sites

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. 

  • Like 1

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting 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

  • Scifer changed the title to Spawning player unit with random properties [MOOSE]
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...