Jump to content
Sign in to follow this  
CHICKENLICKEN

Running Scripts Via init?

Recommended Posts

So all along I was using ALias weather scripts from a trigger. turns out you should run them from an Sqf file? But how do I do this? And how do I get tit to activate on a specific location? Is it done by a marker with defined radius like a trigger?

Share this post


Link to post
Share on other sites

What scripts? Provide links. Sharing information is a great way to improve your chances of receiving a useful response.

Share this post


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

 

What you should do is just put the script line inside the INIT.SQF file of your mission folder.

 

[pond, "low"] execvm "AL_localfog \ local_fog.sqf"; // it makes the fog on the ground.

 

[clif, "high"] execvm "AL_localfog \ local_fog.sqf"; // This is the fog on the top of the mountain.

 

Choose which one to use, then place a small object on the map like a pen or even the helipad shown in the video, and give it the name "pond" if you want the fog on the ground, or "clif" if you want the fog on the some mountain peak.

 

If you use only one, then delete the other line of script, leaving only the one that will use inside file init.sqf.

 

Within the folder of your mission you should have the file "init.sqf", "ini_fog.sqf" and the "AL_localfog" folder.

 

The other files are optional.

Share this post


Link to post
Share on other sites

Thanks. Sorry I'm new and also have autism so I find some things hard. I understand a bit more now. I will look more.

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
Sign in to follow this  

×