Page MenuHomeFeedback Tracker

Static weapons remove all Killed EHs from units that get out of them
New, NormalPublic

Description

Most CSLA static weapons have this event handler in their config:

GetOut = "(_this select 2) removeAllEventHandlers 'Killed'"

This is an awful idea. This will indiscriminately remove all Killed EHs from any unit that happens to get out of it. Mission EHs, mod EHs, everything. If there is a Killed EH used as part of the weapon's scripting for some reason, you should save that EH's ID to a variable and remove only that EH. A blanket removal of all EHs is unnecessary and dangerous.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Config
Additional Information

Known affected objects:

CSLA_M52_stat
CSLA_9K113_stat
CSLA_T21_stat
CSLA_UK59L_stat
CSLA_UK59T_stat
US85_M252_stat
AFMC_M252_stat
US85_M2h
US85_M2l
AFMC_M2h
AFMC_M2l

Event Timeline

NikkoJT created this task.May 7 2024, 8:12 PM
NikkoJT edited Additional Information. (Show Details)May 7 2024, 8:17 PM