Page MenuHomeFeedback Tracker

Change in CursorTarget priority causes issues with scripts that rely on it
Closed, ResolvedPublic

Description

In a recent dev build update (~a week ago) the priority of CursorTarget was changed to always prioritize buildings. This has caused issues with a variety of scripts.

Details

Legacy ID
2831633859
Severity
Major
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Move a soldier inside a building and use 'hint str typeof cursortarget' in the debug menu while pointing at him.

Event Timeline

SonixApache edited Additional Information. (Show Details)
SonixApache set Category to Scripting.
SonixApache set Reproducibility to Always.
SonixApache set Severity to Major.
SonixApache set Resolution to Fixed.
SonixApache set Legacy ID to 2831633859.May 7 2016, 5:55 PM

It is not just soldier. There is a toilet box on Stratis that is inside bounding box of near building. It always returns the building when pointing at the toilet.

Upvoted

This has caused a medical revive script in use since Alpha to no longer be functional within buildings.
Upvoted.

Still broken, now on stable. This issue breaks everything that relies on cursorTarget inside and near buildings and must be fixed ASAP.

Example 1:
http://cloud-3.steampowered.com/ugc/3334093094596418401/B7E852D6D7F76A0528CA2CF76B6482C64DA9E776/
Looking at ground weaopn holder with weapon, I have inventory actions but cursor target still reports "Inn garden"

http://cloud-2.steampowered.com/ugc/3334093094596433616/04D032E96F1810137D84283D6718D9813FEEEEE9/
Looking bit higher, now cursor target is ground weapon holder as it should have been in both cases

Example 2:
http://cloud-4.steampowered.com/ugc/3334093094596472141/AAF16AEFFF24B821F5EC0ED0A9124FE3E8E52692/
Looking through 3 objects: Laptop, Camping table and Garden Inn. Cursor target reports Garden Inn, laptop functions are inaccesible.

http://cloud-3.steampowered.com/ugc/3334093094596486445/21F0C7D4FFB380D598FA83608CFAF51827E08D45/
Now there is nothing but laptop in line of sight, cursor target reports it properly

vbawol added a subscriber: vbawol.May 7 2016, 5:55 PM
vbawol added a comment.Mar 5 2014, 5:36 PM

same here, upvoted

How did an already reported bug get into the stable branch from the dev branch?
This bug has broken our mod. I certainly hope there is a hot-fix for this soon.
Up-voting.

It seems actions added via addAction are also not working, making it unusable.
However, actions added via class UserActions {}, do work.

Hurtz72 added a subscriber: Hurtz72.May 7 2016, 5:55 PM

Ya this has broken TacBF and Breaking Point. I can't believe it was a known issue in Dev Branch and BI decides to push it out to stable branch anyway. Not good.

Fokis added a subscriber: Fokis.May 7 2016, 5:55 PM
Fokis added a comment.Mar 6 2014, 6:31 PM

This is greatly affecting the Breaking Point and Arma 3 in general. Please add urgency to this issue. Thanks!

AD2001 added a subscriber: AD2001.May 7 2016, 5:55 PM
AD2001 added a comment.Mar 6 2014, 7:48 PM

This is slightly offtopic, but how exactly is this bug affecting Breaking Point?

This bug should be fixed in next dev branch update (today). We are really sorry for any inconvenience caused by this issue.

Resolved - fixed.

Thanks for the rapid fix.

MadDogX added a subscriber: MadDogX.May 7 2016, 5:55 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.