Page MenuHomeFeedback Tracker

Killed EH and onPlayerKilled.sqf parameters incorrect.
New, NormalPublic

Description

Both of these give incorrect parameters. It always gives the following for the killed EH: [unit, unit, objNull, usEffects], instead of [unit, killer, instigator, useEffects]. With the onPlayerKilled.sqf also giving the unit twice.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Create a killed eventhandler with the script diag_log _this
  2. Observe the following return for myself: [B PltHQ:1 (NeilZar),B PltHQ:1 (NeilZar),<NULL-object>,true]
Additional Information

I have only tested this with these two, there could be more with this problem.

Event Timeline

NeilZar created this task.Jan 9 2018, 3:22 PM