-
Notifications
You must be signed in to change notification settings - Fork 1
Respirator Effects
Mike-MF edited this page Dec 30, 2022
·
9 revisions
This page will explain the usage of the Respirator Effects function.
/*
* Author: Alganthe, Mike
* Specified masks protect from a contamination zone while providing HUD/Sound effects.
* Requires a marker covering an area named "Contamination" for damage to take effect.
*
* Call from initPlayerLocal.sqf
*
* Arguments:
* 0: Player <OBJECT>
*
* Return Value:
* None
*
* Example:
* [_player] call MFUNC(respiratorEffects)
*/
This function adds an overlay and sound effects when wearing gas masks from contact DLC. It only functions once the mask is equipped.
Call from initPlayerLocal.sqf
Example:
[_player] call MFUNC(respiratorEffects);
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