mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:33:29 +00:00
[WIP] refactoring extract info function into more functions to handle the data to be grabbed
This commit is contained in:
22
addons/main/functions/extract_data/fn_extract_role.sqf
Normal file
22
addons/main/functions/extract_data/fn_extract_role.sqf
Normal file
@@ -0,0 +1,22 @@
|
||||
params["_unit"];
|
||||
private _role = "Gnd Combat Infantry Rifleman";
|
||||
/*
|
||||
TODO - Provide one of these options using tons of ifs
|
||||
|
||||
"Gnd Combat Infantry Rifleman", Nickname: "Rifleman"
|
||||
"Gnd Combat Infantry grenadier", Nickname: "Grenadier"
|
||||
"Gnd Combat Infantry Mortar" , Nickname: "Mortar"
|
||||
"Gnd Combat Infantry MachineGunner (LMG)", Nickname: "LMG"
|
||||
"Gnd Combat Infantry Medic" , Nickname: "Medic"
|
||||
"Gnd Combat Infantry Sniper", Nickname: "Sniper"
|
||||
"Gnd Combat Infantry Recon" , Nickname: "Recon"
|
||||
"Gnd Combat Infantry anti Tank" , Nickname: "anti Tank"
|
||||
"Gnd Combat Infantry air defense", Nickname: "AA"
|
||||
"Gnd Combat Infantry Engineer", Nickname: "Engineer"
|
||||
"Ground"
|
||||
|
||||
"Gnd Equip Vehic Civilian", Nickname: Vehicle (OK)
|
||||
"Gnd Equip Vehic Ambulance": "a-.-G-E-V-m" , Nickname: Ambulance (OK)
|
||||
*/
|
||||
|
||||
_role
|
||||
Reference in New Issue
Block a user