-
Notifications
You must be signed in to change notification settings - Fork 1
Ground Fog
Mike-MF edited this page May 16, 2023
·
1 revision
This page will explain the usage of the Ground Fog function.
/*
* Author: Kaysi, Kresky, Jonpas, Mike
* Adds ground fog.
*
* Call from initPlayerLocal.sqf.
*
* Arguments:
* 0: Player <OBJECT>
* 1: Colour RGBA <ARRAY>
* 2: Condition <CODE> (default: true)
*
* Return Value:
* None
*
* Example:
* [_player] call MFUNC(groundFog)
* [_player, [1, 1, 1, 0.04], {TAC_Example}] call MFUNC(groundFog)
*/
This function creates thick moving fog locally around the player for a nice ambient experience.
The colour can be edited in RGBA format, although changing the alpha from 0.04
is absolutely not recommended.
Call from initPlayerLocal.sqf
Example:
[_player] call MFUNC(groundFog);
Pages
- Home
- Your First Mission
- Creating A Mission
- Contract Missions
- Difficulty Guidelines
-
Functions Library
- Base Spectator
- Bomber
- Car Alarm
- Chemical Detector
- Collect Intel
- Connect Battery To Defusable
- Contamination Gas
- Count Alive
- Dialogue
- Disable AI
- Download Intel
- Earthquake
- Enable AI
- Force Shooting
- Ground Fog
- Hunt
- Lock Doors
- Mark Buildings
- Monitor Units
- Mortar Strike
- Ping
- Players
- Reaction
- Reinforcements
- Reinforcement Waves
- Respirator Effects
- Set Sleeping
- Sound Source
- Surrender
- Switch Action
- Teleport
- Toggle Lights
- Trigger Area
- Helicopters
- Resources
- Quality Checklist
- Useful Commands
- ArmaQDL