ACE3/addons/medical/functions/fnc_selectionNameToNumber.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

20 lines
408 B
Plaintext

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