The command getCursorObjectParams produces the wrong distance
Reviewed, NormalPublic

Tags
Subscribers
Assigned To
None
Authored By
Dell, Jul 4 2017

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

Dell created this task.Jul 4 2017, 6:29 PM
Wulf changed the task status from "New" to "Reviewed".Thu, Aug 10, 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.

Add Comment