mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Change documentation header for API fnc
This commit is contained in:
parent
804456c722
commit
53457cfe61
@ -60,7 +60,7 @@ while {(_closeInMax - _closeInMin) > 0.01} do {
|
|||||||
_closeInDistance = (_closeInMax + _closeInMin) / 2;
|
_closeInDistance = (_closeInMax + _closeInMin) / 2;
|
||||||
|
|
||||||
//Checks (too close to center or can't attach)
|
//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);
|
TRACE_2("no valid spot found",_closeInDistance,_startDistanceFromCenter);
|
||||||
[localize LSTRING(Failed)] call EFUNC(common,displayTextStructured);
|
[localize LSTRING(Failed)] call EFUNC(common,displayTextStructured);
|
||||||
};
|
};
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
* Example:
|
* Example:
|
||||||
* [can] call ace_refuel_fnc_makeJerryCan
|
* [can] call ace_refuel_fnc_makeJerryCan
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: Yes
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
* Example:
|
* Example:
|
||||||
* [truck] call ace_refuel_fnc_reset
|
* [truck] call ace_refuel_fnc_reset
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: Yes
|
||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user