<commit_before>//	@file Version: 1.0
//	@file Name: getMoveParams.sqf
//	@file Author: AgentRev
//	@file Created: 25/02/2013 18:41

private ["_player", "_params", "_currentMove", "_result"];

_player = _this select 0;
_params = _this select 1;

_currentMove = ([animationState _player, "_"] call fn_splitString) select 0; // get just the first part
_currentMove = _currentMove call parseMove;

_result = "";

{
	_result = _result + [_currentMove, _x, ""] call BIS_fnc_getFromPairs;
} forEach _params;

_result<commit_msg>Fixed error with getMoveParams (cherry picked from commit A3Wasteland/ArmA3_Wasteland.Altis@b19ca92503eec618b843226b476ff773f8f3d445)<commit_after>//	@file Version: 1.0
//	@file Name: getMoveParams.sqf
//	@file Author: AgentRev
//	@file Created: 25/02/2013 18:41

private ["_player", "_params", "_currentMove", "_result"];

_player = _this select 0;
_params = _this select 1;

_currentMove = ([animationState _player, "_"] call fn_splitString) select 0; // get just the first part
_currentMove = _currentMove call parseMove;

_result = "";

{
	_result = _result + ([_currentMove, _x, ""] call BIS_fnc_getFromPairs);
} forEach _params;

_result
{'fraction_non_alphanumeric': 0.12800687285223367, 'fraction_numerical': 0.05412371134020619, 'mean_word_length': 5.164021164021164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6795485', 'n_tokens_mistral': 457, 'n_tokens_neox': 411, 'n_words': 113}