ACE3/addons/interaction/functions/fnc_updateTooltipPosition.sqf
2015-05-01 18:12:24 -05:00

16 lines
319 B
Plaintext

// by commy2
#include "script_component.hpp"
private["_ctrl"];
disableSerialization;
_ctrl = ctrlParent (_this select 0) displayCtrl 40;
_ctrl ctrlSetPosition [
(_this select 1) + 0.01 * safezoneW,
(_this select 2) + 0.01 * safezoneH,
2.0 / 16 * safezoneW,
0.3 / 9 * safezoneH
];
_ctrl ctrlCommit 0;