mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Minor Cleanup
This commit is contained in:
parent
7d08469df9
commit
5ce7ec48e7
@ -32,4 +32,4 @@ HASH_SET(GVAR(fingersHash), _sourceUnit, _data);
|
||||
|
||||
if (GVAR(pfeh_id) == -1) then {
|
||||
GVAR(pfeh_id) = [DFUNC(perFrameEH), 0, []] call CBA_fnc_addPerFrameHandler;
|
||||
};
|
||||
};
|
||||
|
@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private["_drawColor", "_fovCorrection", "_iconSize", "_sourceUnit", "_timeLeftToShow"];
|
||||
private["_drawColor", "_fovCorrection", "_iconSize", "_timeLeftToShow"];
|
||||
|
||||
if (!alive ACE_player) then {GVAR(fingersHash) = HASH_CREATE;};
|
||||
// Conditions: canInteract
|
||||
@ -27,7 +27,6 @@ _fovCorrection = ((worldToScreen (positionCameraToWorld [1000, 0, 10000])) selec
|
||||
_iconSize = BASE_SIZE * _fovCorrection;
|
||||
|
||||
{
|
||||
_sourceUnit = _x;
|
||||
_data = HASH_GET(GVAR(fingersHash), _x);
|
||||
EXPLODE_3_PVT(_data,_lastTime,_pos,_name);
|
||||
_timeLeftToShow = _lastTime + FP_TIMEOUT - ACE_diagTime;
|
||||
|
@ -22,7 +22,7 @@
|
||||
<Russian>Действие "показать пальцем на"</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_finger_keyComb_description">
|
||||
<English>Points, and shows a virtual marker of where you are looking to nearby units.</English>
|
||||
<English>Points, and shows a virtual marker of where you are looking to nearby units. Can be held down.</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_finger_moduleSettings_displayName">
|
||||
<English>Finger Settings</English>
|
||||
|
Loading…
Reference in New Issue
Block a user