Page MenuHomeFeedback Tracker

The command getCursorObjectParams produces the wrong distance
Reviewed, NormalPublic

Description

Game Arma 3 1.72.142223

Details

Severity
Trivial
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Scripting
Steps To Reproduce
[] spawn {
	while {true} do {
		_text = "";
		getCursorObjectParams params ["_object1", "_cursorObjectNamedSel", "_distToCursorObject"];
		_text = str _object1 + " : " + str _distToCursorObject + "\n\n";
		
		_text = _text + "distance : ";
		if (str _object1 != "<NULL-object>") then {
			_text = _text + str (player distance _object1);
		}
		else
		{
			_text = _text + "error";
		};
		hintSilent _text;
	};
};
Additional Information

Event Timeline

Dell created this task.Jul 4 2017, 6:29 PM
Wulf changed the task status from New to Reviewed.Aug 10 2017, 3:41 PM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report. We will have a look at this issue and see what we can do with it.