Author: austin(medic)
Author Website:

Requirements:

Version: 1.0

Short description: A script that will display weather data in a hint

Date: 2013-07-03 04:34


Comments: (0)
Rating:



 

Weather Information [BETA]

by
austin(medic)


Description:
This script pretty much just retreives basic weather variables from the game and displays them in a hint.
It updates every 1800 seconds (30 minutes) by default, but this can be changed to be longer or shorter.


Features:
- Temperature (busted currently for stock missions)
- Date (year,month,day,hour,minute)
- Wind speed
- Wind direction
- Wind gusts
- fog
- Rain
- Wave height


Installation / Usage:
To change the updates to be longer or shorter just edit the sleep 1800; at the end of the script.
Just put in init.sqf :
execVM "weatherservice.sqf";
You could probably put that into a trigger or a players init box by using:
nul = [this] execVM "weatherservice.sqf";
Or
this addaction ["Weather Forecast", "weatherservice.sqf";
Once you do that, it will display a hint with the latest weather variables every XX amount of seconds.


Notes:
If there is any other weather variables that were left out that you want put in, let me know.




Enable javascript to be able to download from Armaholic please!



Tags: Weather