2018-09-17 19:19:29 +00:00
|
|
|
#include "script_component.hpp"
|
2015-09-17 16:25:02 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
|
|
|
* hint the Variable ACE_isUsedBy from the input Object every frame
|
|
|
|
*
|
2016-06-18 09:50:41 +00:00
|
|
|
* Arguments:
|
2015-09-17 16:25:02 +00:00
|
|
|
* <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [bob] call ace_common_fnc_showUser
|
|
|
|
*
|
2015-09-17 16:25:02 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-09-17 16:25:02 +00:00
|
|
|
if (!isNil QGVAR(showUserPFH)) then {
|
|
|
|
[GVAR(showUserPFH)] call CBA_fnc_removePerFrameHandler;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
2015-09-17 16:25:02 +00:00
|
|
|
|
|
|
|
GVAR(showUserPFH) = [{
|
|
|
|
hintSilent str ((_this select 0) getVariable ["ACE_isUsedBy", objNull]);
|
|
|
|
}, 0, _this] call CBA_fnc_addPerFrameHandler;
|