Page MenuHomeFeedback Tracker

Script error when executing ["IsSpectator", [player]] call BIS_fnc_EGSpectator
New, NormalPublic

Description

Lines 292 needs to be changed from

		params [["_object", objNull, [objNull]]];

to

		_params params [["_object", objNull, [objNull]]];

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
Scripting
Additional Information

RPT

case "IsSpectator" :
{
params [["_object", objNull, [objNull]]]>
17:19:06   Error position: <params [["_object", objNull, [objNull]]]>
17:19:06   Error Params: Type String, expected Object
17:19:06 File A3\functions_f_exp_a\EGSpectator\fn_EGSpectator.sqf, line 279

Event Timeline

R3vo created this task.Tue, Apr 9, 5:18 PM
R3vo edited Additional Information. (Show Details)