Page MenuHomeFeedback Tracker

Script error in "A3\functions_f_orange\waypoints\fn_wpDemine.sqf";
Closed, ResolvedPublic

Description

There is a script error in line 38.

_specialists = _units select {
		((_x getunittrait "explosiveSpecialist") || (_x getunittrait "engineer"))
		&&
		(items _x) select {getNumber (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> "type") isEqualTo 620} //Missing ( ) here
	};

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Place a soldier in the Editor
  2. Give him a demine waypoint
  3. Preview
Additional Information
18:26:51 Error in expression <list") || (_x getunittrait "engineer"))
&&
(items _x) select {getNumber (configF>
18:26:51   Error position: <&&
(items _x) select {getNumber (configF>
18:26:51   Error &&: Type Array, expected Bool,code
18:26:51 File A3\functions_f_orange\waypoints\fn_wpDemine.sqf..., line 37

Event Timeline

R3vo created this task.Nov 4 2020, 6:30 PM
R3vo changed Severity from None to Major.
R3vo changed Reproducibility from N/A to Always.
reyhard claimed this task.Nov 4 2020, 6:54 PM
falcon91 added a subscriber: falcon91.EditedNov 5 2020, 1:58 AM

Hey Rey,

I originally reported this on the discord, here is a screen shot of the error occurring, if need be I can get a video as well, and how the waypoint is set up and etc...

The AI after they encounter this, just completely halt, they don't do anything else, I also do have explosive specialists and engineers in the squad, I made sure of that last night before I hopped off.

Screenshot below

E:
Also thank Revo for getting the report going.

R3vo added a comment.Nov 12 2020, 5:44 PM

Fixed in 2.01.146926

LouMontana closed this task as Resolved.Nov 12 2020, 5:53 PM