mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3411 from GitHawk/refuel_api
Refuel change documentation header for API fnc
This commit is contained in:
commit
36d5c40b06
@ -60,7 +60,7 @@ while {(_closeInMax - _closeInMin) > 0.01} do {
|
||||
_closeInDistance = (_closeInMax + _closeInMin) / 2;
|
||||
|
||||
//Checks (too close to center or can't attach)
|
||||
if (((_startDistanceFromCenter - _closeInDistance) < 0.1) || {!([_target, _unit, _itemClassname] call FUNC(canAttach))}) exitWith {
|
||||
if ((_startDistanceFromCenter - _closeInDistance) < 0.1) exitWith {
|
||||
TRACE_2("no valid spot found",_closeInDistance,_startDistanceFromCenter);
|
||||
[localize LSTRING(Failed)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Example:
|
||||
* [can] call ace_refuel_fnc_makeJerryCan
|
||||
*
|
||||
* Public: No
|
||||
* Public: Yes
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
* Example:
|
||||
* [truck] call ace_refuel_fnc_reset
|
||||
*
|
||||
* Public: No
|
||||
* Public: Yes
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user