Page MenuHomeFeedback Tracker

Say3D maxDistance optional parameter is not optional
Feedback, NormalPublic

Description

In 2 of say3D's alternate syntaxes (syntaxes 2 and 4 here: https://community.bistudio.com/wiki/say3D) it can take a set of optional parameters as an array. However, the first optional parameter, maxDistance, isn't really optional because the command requires a minimum of 2 elements in the parameter array and will throw a script error if you try to leave out the maxDistance parameter.

@BIS_fnc_KK requested this ticket.

Details

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

obj_test say3D ["Alarm_BLUFOR"];
[obj_test, player] say3D ["Alarm_BLUFOR"];

Event Timeline

NikkoJT created this task.Fri, May 13, 1:11 AM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Fri, May 13, 11:20 AM
BIS_fnc_KK changed the task status from New to Feedback.

should be fxed in 149347