Shouldn't nearestObjects be able to detect SmokeShell class?
Description
Description
Details
Details
- Legacy ID
- 2931627518
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
Command:
nearestObjects[getpos player, ["SmokeShell"], 100]
Result: []
Command:
getpos player nearObjects ["SmokeShell",100]
Result: [1779990: smokegrenade_white.p3d]
Command:
nearestObject [getpos player, "SmokeShell"]
Result: [1779990: smokegrenade_white.p3d]
The only way nearestObjects will ever return a SmokeShell is with [] as class input:
nearestObjects[getpos player, [], 100]
Result: [B Alpha 1-1:1 ([VB]AWOL),NOID footstep_r.p3d,NOID footstep_l.p3d,1780019: fly.p3d,1780010: fly.p3d,1780007: fly.p3d,1779990: smokegrenade_white.p3d]
Event Timeline
Comment Actions
Just to follow up this is the same issue: http://feedback.arma3.com/view.php?id=14327 and it is already noted on the wiki https://community.bistudio.com/wiki/nearestObjects