mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4e93b9c72d
Privates Cleanup debug Add repair actions for sub turrets Cleanup Fix Header Error Handling Cleanup setHitpointDamage Fix common ACE_isEngineer to handle scalar or bool Claim and release repair objects (wheel/track) Repair sub-turrets
23 lines
377 B
Plaintext
23 lines
377 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Fully repairs vehicle
|
|
*
|
|
* Arguments:
|
|
* 0: Unit that does the repairing (not used) <OBJECT>
|
|
* 1: Vehicle to repair <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [unit, vehicle] call ace_repair_fnc_doFullRepair
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["", "_vehicle"];
|
|
TRACE_1("params",_vehicle);
|
|
|
|
_vehicle setDamage 0;
|