Snow-Bird Posted June 14, 2024 Posted June 14, 2024 Hello there, I want to randomize the location of an SA-10 Site. I place a few Zones called "Cyprus SAM-1, [...], Cyprus SAM-9" I am using this little script for it with a Mission start Trigger (The full MIST library is also loaded before, but in another Trigger): do mist.groupToRandomZone('SAM Cyprus SA-10', {'Cyprus SAM-1', 'Cyprus SAM-2', 'Cyprus SAM-3', 'Cyprus SAM-4', 'Cyprus SAM-5', 'Cyprus SAM-6', 'Cyprus SAM-6', 'Cyprus SAM-7', 'Cyprus SAM-8', 'Cyprus SAM-9'}) end PS.: I just tried the Groupname and Zonenames without the Spaces, just in case, but with the same result: nothing ~cheers
OzDeaDMeaT Posted June 15, 2024 Posted June 15, 2024 So just to be clear, you want to move an SA10 from where-ever it is, to a random zone? Are we aware if the SA10 actually is movable? Do you want to try a truck first? I think the SA10 comes pre-setup so it cant be moved so this is probably your problem. CPU: i9-12900K @ 4.9Ghz M/B: MSI MEG z690 Ace RAM: 128GB Video Card: MSI RTX 4090 Suprim Liquid X VR: Varjo Aero
Snow-Bird Posted June 15, 2024 Author Posted June 15, 2024 Oh, so the groupToZone actually moves them? I thought it would just instantly teleport them there. Basicly what I want to do is just spawn them in on one of several predetermined possible locations.
Kanelbolle Posted June 15, 2024 Posted June 15, 2024 (edited) 4 hours ago, Snow-Bird said: Oh, so the groupToZone actually moves them? I thought it would just instantly teleport them there. Basicly what I want to do is just spawn them in on one of several predetermined possible locations. Think you are looking for any of the below: https://wiki.hoggitworld.com/view/MIST_cloneInZone https://wiki.hoggitworld.com/view/MIST_respawnInZone Edited June 15, 2024 by Kanelbolle WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Recommended Posts