ace_goggles_fnc_applyDirtEffect
Description
Adds dirt effect to the glasses.
Parameters
None
Return Value
Description | Datatype(s) |
---|---|
Succeeded | BOOL |
Example
_applied = call ace_goggles_fnc_applyDirtEffect
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_applyDustEffect
Description
Applies dust to screen.
Parameters
None
Return Value
None
Example
call ace_goggles_fnc_applyDustEffect
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_clearGlasses
Description
Clears all dirt, rain, dust from glasses. Removes glasses effect (PP, overlay) and then puts it back.
Parameters
None
Return Value
None
Example
call ace_goggles_fnc_clearGlasses
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_externalCamera
Description
Returns if the camera is external or not.
Parameters
None
Return Value
Description | Datatype(s) |
---|---|
Whether the camera is in external view or not. | BOOL |
Example
call ace_goggles_fnc_externalCamera;
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_isDivingGoggles
Description
Determines whether passed goggles is diving goggles or a variant of them.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Glasses classname | STRING |
Return Value
Description | Datatype(s) |
---|---|
Check if these goggles are diving goggles | BOOL |
Example
[goggles ace_player] call ace_goggles_fnc_isDivingGoggles;
Authors
- commy2
ace_goggles_fnc_isGogglesVisible
Description
Determines if goggles are visible on passed unit.
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT |
Return Value
Description | Datatype(s) |
---|---|
Whether goggles are visible | BOOL |
Example
_visible = [ace_player] call ace_goggles_fnc_isGogglesVisible;
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_isInRotorWash
Description
Checks for nearby running helicopters (within 15m)
Parameters
Index | Description | Datatype(s) | Default Value |
---|---|---|---|
0 | Unit | OBJECT | |
1 | Radius to check for helicopter (default: 15) | NUMBER |
Return Value
Description | Datatype(s) |
---|---|
Array | ARRAY |
Example
if ([ace_player, 10] call ace_goggles_fnc_isInRotorWash select 0) then { hint "Rotor wash"; };
if ([ace_player] call ace_goggles_fnc_isInRotorWash select 0) then { hint "Rotor wash"; };
Authors
- Garth ‘L-H’ de Wet
- commy2
ace_goggles_fnc_removeDirtEffect
Description
Removes dirt from the glasses.
Parameters
None
Return Value
None
Example
call ace_goggles_fnc_removeDirtEffect
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_removeDustEffect
Description
Removes dust from the glasses.
Parameters
None
Return Value
None
Example
call ace_goggles_fnc_removeDustEffect
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_removeGlassesEffect
Description
Removes the glasses effect from the screen, removes dirt effect, removes rain effect, removes dust effect. Does not reset array (glasses will still be broken, dirty, ect.)
Parameters
None
Return Value
None
Example
call ace_goggles_fnc_removeGlassesEffect
Authors
- Garth ‘L-H’ de Wet
ace_goggles_fnc_removeRainEffect
Description
Removes rain effects from the screen.
Parameters
None
Return Value
None
Example
call ace_goggles_fnc_removeRainEffect
Authors
- Garth ‘L-H’ de Wet