2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-08-14 18:49:51 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
2017-08-10 11:32:55 +00:00
|
|
|
* Fully repairs vehicle.
|
2015-08-14 18:49:51 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-09-26 04:36:35 +00:00
|
|
|
* 0: Unit that does the repairing (not used) <OBJECT>
|
2015-08-16 18:14:54 +00:00
|
|
|
* 1: Vehicle to repair <OBJECT>
|
2015-08-14 18:49:51 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2015-08-16 18:14:54 +00:00
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
2015-09-26 04:36:35 +00:00
|
|
|
* [unit, vehicle] call ace_repair_fnc_doFullRepair
|
2015-08-16 18:14:54 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
2015-08-14 18:49:51 +00:00
|
|
|
*/
|
|
|
|
|
2015-09-26 04:36:35 +00:00
|
|
|
params ["", "_vehicle"];
|
|
|
|
TRACE_1("params",_vehicle);
|
2015-08-14 18:49:51 +00:00
|
|
|
|
|
|
|
_vehicle setDamage 0;
|