H4mmersticks 0 Posted August 12 I am creating a scenario for the new Spearhead 1944 update that I plan to publish to the workshop. I want to use the Random sites selector module from SOGPF to make the scenario less predictable. However, I don't want to create a dependency for the scenario. What would be the best way to script something that would be similar. Share this post Link to post Share on other sites
h34dup 148 Posted August 12 I did something like this many years ago. You organize your random sites (props and units together is likely easiest) into layers, give each layer name a number (eg. Layer_RandomSite_1), then generate a random number set from 1 to however many sites you have and selecting the number of sites you want to make visible (eg. if it's 3 sites of 6, select the first 3 values of that random number sequence), then you can use enableSim and hideObject to selectively show or hide the corresponding layers. Share this post Link to post Share on other sites
h34dup 148 Posted August 12 For example, you can hide and de-simulate everything in a specified layer with: { _x hideObjectGlobal true; _x enableSimulationGlobal false; } forEach ((getMissionLayerEntities "YOUR LAYER NAME HERE") select 0); To show and simulate, you just change the boolean values above. 1 Share this post Link to post Share on other sites