ACE3/addons/medical/functions/fnc_selectionNameToNumber.sqf
Glowbal bf762bbdf1 Updated headers to correct format
Reorganized function names.
Added unit vitals loop
2015-02-08 10:01:32 +01:00

17 lines
337 B
Plaintext

/*
* Author: Glowbal
* Get the number representation of a selection name.
*
* Arguments:
* 0: The selection name of a unit <STRING>
*
* ReturnValue:
* Number representation. -1 if invalid. <NUMBER>
*
* Public: yes
*/
#include "script_component.hpp"
(["head","body","hand_l","hand_r","leg_l","leg_r"] find (_this select 0));