Page MenuHomeFeedback Tracker

nearestObjects unable to detect SmokeShell
New, WishlistPublic

Description

Shouldn't nearestObjects be able to detect SmokeShell class?

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

vbawol edited Steps To Reproduce. (Show Details)Feb 5 2015, 4:54 PM
vbawol edited Additional Information. (Show Details)
vbawol set Category to Scripting.
vbawol set Reproducibility to Always.
vbawol set Severity to None.
vbawol set Resolution to Open.
vbawol set Legacy ID to 2931627518.May 7 2016, 8:13 PM
vbawol added a subscriber: vbawol.

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