ACE3/addons/interaction/functions/fn_updateTooltipPosition.sqf

13 lines
256 B
Plaintext
Raw Normal View History

2015-01-11 19:32:51 +00:00
// by commy2
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;