Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted (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 by Kanelbolle
  • Recently Browsing   0 members

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