Page MenuHomeFeedback Tracker

Respawn system: an error occurs when removing a respawn position
New, NormalPublic

Description

An error occurs when removing a respawn position while Respawn display is open:

13:41:36 Error in expression <",["",0]];
        private _message    = _this param [3,"",[""]];
        private _uniqueID   =>
13:41:36   Error position: <param [3,"",[""]];
        private _uniqueID   =>
13:41:36   Error Type Array, expected String
13:41:36 File /temp/bin/A3/Functions_F/Respawn/fn_showRespawnMenuDisableItem.sqf..., line 88

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Create a simple mission with such values in description.ext file:

respawn = "BASE";
respawnOnStart = -1;
respawnTemplates[] = { "MenuPosition" };

Then launch it, add a few respawn position using debug console:

[missionNamespace, [4100, 4000, 0]] call BIS_fnc_addRespawnPosition;

Respawn, and remove any respawn position:

[missionNamespace, 0] call BIS_fnc_removeRespawnPosition;

Event Timeline

Schatten created this task.Nov 1 2023, 11:43 AM
Schatten updated the task description. (Show Details)