Page MenuHomeFeedback Tracker

Introduce: "TurretOpticsModeChanged" Event Handler
New, NormalPublic

Description

Triggers when player changes zoom/FOV in their turret or through script using "setTurretOpticsMode"

Parameters:
0 - _unit [OBJECT]
1 - _turretPath [ARRAY OF NUMBERS]
2 - _newOpticsMode [NUMBER]
3 - _oldOpticsMode [NUMBER]

this addEventHandler ["TurretOpticsModeChanged", {
    params ["_unit", "_turretPath", "_newOpticsMode", "_oldOpticsMode"];
}];

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Operating System Version
N/A
Category
Scripting
Steps To Reproduce

N/A

Additional Information

N/A

Event Timeline

Hypoxic created this task.May 30 2024, 6:24 AM
Hypoxic updated the task description. (Show Details)