Page MenuHomeFeedback Tracker

BIS_fnc_addStackedEventHandler issue with input parameters since EXE rev. 142285 (game)
Closed, ResolvedPublic

Description

Since the Devbranch update EXE rev. 142285 (game) the function BIS_fnc_addStackedEventHandler produces a syntax error when passing a object such as the player to it.
This is probably connected to this point in the devbranch changelog:

The data of the whole game were repacked. Please report any related issues (missing textures and icons, pop-up errors, etc.) to the Feedback Tracker. Thanks!

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce
["blah", "onEachFrame", {systemChat str _this}, [player, "TEST"]] call BIS_fnc_addStackedEventHandler;

produces error:

20:44:43 Error in expression <[B Alpha 1-1:1 (Lappihuan),"TEST"] call {sy>
20:44:43   Error position: <Alpha 1-1:1 (Lappihuan),"TEST"] call {sy>
20:44:43   Error Missing ]

Event Timeline

I either missed this entry or it got added later into the devbranch changelog:

Tweaked: The BIS_fnc_addStackedEventHandler, BIS_fnc_removeStackedEventHandler and BIS_fnc_executeStackedEventHandler functions are no longer supported
Lappihuan updated the task description. (Show Details)Jul 6 2017, 10:17 AM
Lappihuan edited Steps To Reproduce. (Show Details)

seems like BIS_fnc_executeStackedEventHandler got intetionally broken, are there plans for a replacement? maybe even a nativ sqf command?

/*
    Author: Nelson Duarte

    Description:
    Deprecated

    Returns:
    BOOLEAN - FALSE
*/

false;
dedmen added a subscriber: dedmen.Jul 13 2017, 10:00 PM
razazel changed the task status from New to Reviewed.Jul 14 2017, 9:15 AM
LouMontana closed this task as Resolved.Nov 6 2020, 1:46 PM