Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Array with group types
- WEST_Grp_List = [
- [configfile >> "CfgGroups" >> "West" >> "BLU_F" >> "Infantry" >> "BUS_InfTeam", 625]
- ];
- //Used this to add to the map for calling the function
- {
- private _grpType = (_x select 0);
- private _grpCost = (_x select 1);
- private _grpCode = format ["[%1,%2,%3] call BTH_fnc_RecruitGroup", _grpType, _grpCost, str _pSide];
- private _grpDisp = getText (_grpType >> "name");
- private _grpStr = format ["Recruit " + "<execute expression='%3'>%1</execute>, " + "Cost: %2", _grpDisp,_grpCost,_grpCode];
- private _grpAdd = _pLocal createDiaryRecord ["Buy Assets", ["Groups", _grpStr]];
- } forEach _p_Grp_List;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement