2015-02-08 09:01:32 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
|
|
|
* Get the number representation of a selection name.
|
2015-02-03 20:48:08 +00:00
|
|
|
*
|
2015-02-08 09:01:32 +00:00
|
|
|
* Arguments:
|
|
|
|
* 0: The selection name of a unit <STRING>
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Return Value:
|
2015-02-08 09:01:32 +00:00
|
|
|
* Number representation. -1 if invalid. <NUMBER>
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* ["head"] call ace_medical_fnc_selectionNameToNumber
|
|
|
|
*
|
2015-02-08 09:01:32 +00:00
|
|
|
* Public: yes
|
2015-02-03 20:48:08 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-02-08 09:01:32 +00:00
|
|
|
(["head","body","hand_l","hand_r","leg_l","leg_r"] find (_this select 0));
|