ACE3/addons/common/functions/fnc_getHitPoints.sqf

20 lines
408 B
Plaintext
Raw Normal View History

/*
* Author: commy2
2015-09-21 12:20:53 +00:00
* Returns all hitpoints and their selections of any vehicle. Might contain duplicates if the turrets contain non unique hitpoints with different selection names.
*
* Arguments:
2015-09-21 12:20:53 +00:00
* 0: Vehicle <OBJECT>
*
* Return Value:
2015-09-21 12:20:53 +00:00
* Hitpoints <ARRAY>
*
* Public: Yes
*
* Deprecated
*/
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
params ["_vehicle"];
(getAllHitPointsDamage _vehicle select 0) - [""]