mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
488 B
Plaintext
22 lines
488 B
Plaintext
/*
|
|
* Author: commy2
|
|
* Returns all hitpoints and their selections of any vehicle. Might contain duplicates if the turrets contain non unique hitpoints with different selection names.
|
|
*
|
|
* Arguments:
|
|
* 0: Vehicle <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Hitpoints <ARRAY>
|
|
*
|
|
* Public: Yes
|
|
*
|
|
* Deprecated
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
ACE_DEPRECATED("ace_common_fnc_getHitPoints","3.5.0","getAllHitPointsDamage");
|
|
|
|
params ["_vehicle"];
|
|
|
|
(getAllHitPointsDamage _vehicle select 0) - [""]
|