mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
17 lines
380 B
Plaintext
17 lines
380 B
Plaintext
/*
|
|
* Author: commy2
|
|
*
|
|
* Returns all hitpoints of any vehicle. Might contain duplicates if the turrets contain non unique hitpoints with different selection names.
|
|
*
|
|
* Arguments:
|
|
* 0: A vehicle, not the classname (Object)
|
|
*
|
|
* Return Value:
|
|
* The hitpoints (Array)
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_vehicle"];
|
|
|
|
(getAllHitPointsDamage _vehicle select 0) - [""]
|