Jump to content
silola

X-Cam-Taunus Version 1.1

Recommended Posts

Hello ! I like your card very much! I only want to make it even more beautiful - that is, add AUTUMN.

Edited by mehannik44

Share this post


Link to post
Share on other sites

Hello all. I absolutely love this map. Top job!

 

I have a single-player problem that is making this a bit unplayable for me. I cannot order my AI units into most fields. It's as if the fences are too close and the game can't send any collidible objects through the gaps that I otherwise can run through fine.

 

Is there a fix for this? Thanks!

Share this post


Link to post
Share on other sites

This is gross, but it will work for you:

[] spawn {
    _list = nearestTerrainObjects [player, ["FENCE"], 2000];
    {if (random (1) > 0.5) then {_x hideObject true}} foreach _list;
};

It will randomly hide terrain objects (of the "fence" type) in an area of 2000 meters around the player.

Share this post


Link to post
Share on other sites
On 11/17/2020 at 8:22 PM, Alejandro Cano said:

This is gross, but it will work for you:


[] spawn {
    _list = nearestTerrainObjects [player, ["FENCE"], 2000];
    {if (random (1) > 0.5) then {_x hideObject true}} foreach _list;
};

It will randomly hide terrain objects (of the "fence" type) in an area of 2000 meters around the player.

Ok, thanks! Worth a try I suppose.

 

Where do I instantiate this code? I haven't done any Arma scripting.

 

Thanks again.

Share this post


Link to post
Share on other sites

@sgtwilson
You indicate that it will be used in single player, so add that code block in an init.sqf file in your mission folder.

Cheers

Share this post


Link to post
Share on other sites
3 hours ago, Alejandro Cano said:

@sgtwilson
You indicate that it will be used in single player, so add that code block in an init.sqf file in your mission folder.

Cheers

Appreciate it, thank you

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×