Page MenuHomeFeedback Tracker

Say3D maxDistance optional parameter is not optional
Closed, ResolvedPublic

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
Fixed
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.May 13 2022, 1:11 AM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.May 13 2022, 11:20 AM
BIS_fnc_KK changed the task status from New to Feedback.

should be fxed in 149347

Verified fixed in 2.10. Can be closed.

Tenshi closed this task as Resolved.Aug 23 2022, 2:57 PM
Tenshi changed Resolution from Open to Fixed.