cmf_gameplay_fnc_flashbangOverride
Jump to navigation
Jump to search
Description
- Description:
- This function will override the flashbangs defined in cmf_gameplay_flashbang_grenades with more realistic effects and sounds. This will be automatically called if enabled in cmf_config.hpp.
- Execution:
- Call
- Groups:
- CMF3: gameplay
Syntax
- Syntax:
- [] call cmf_gameplay_fnc_flashbangOverride
- Return Value:
- None
Examples
- Example 1:
[] call cmf_gameplay_fnc_flashbangOverride
Additional Information
- See also:
- cmf_gameplay_fnc_repairRearmStation cmf_gameplay_fnc_restrictedVehicle cmf_gameplay_fnc_safeStart cmf_gameplay_fnc_tracers
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Mission | cmf_gameplay_flashbang_grenades | An Array containing the flashbang configurations in format [grenadeClass, [fuzeDelay, bangs, bangDelay]]. |
LOCAL | Mission | cmf_gameplay_flashbang_extraEffects | Contains the function used to spawn the visual effects if grenade goes of inside a building. Takes these parameters: [Position: Position ASL, inBuilding: Boolean] |
LOCAL | Mission | cmf_gameplay_flashbang_explosion | Contains the function used to spawn the visual effects and sound effects. Takes these parameters: [Position: Position ASL, inBuilding: Boolean] |
Events
- No events
Notes