MarkCode82 21 Posted March 23, 2016 And are computed from initial set value of 0.1 on all initArray = []; diag_log "-----------------------------------------------------"; _skillTypesArray = [ "aimingAccuracy", "aimingShake", "aimingSpeed", "endurance", "spotDistance", "spotTime", "courage", "reloadSpeed", "commanding", "general"]; _myAI = cursorTarget; { initArray pushBack (_myAI skillFinal _x); diag_log format ["%1: %2",_x,(initArray select _forEachIndex)]; } forEach _skillTypesArray; diag_log "-----------------------------------------------------"; Output of the snippet: "-----------------------------------------------------" "aimingAccuracy: 0.1" "aimingShake: 0.1" "aimingSpeed: 0.59" "endurance: 0.18" "spotDistance: 0.236" "spotTime: 0.126" "courage: 0.18" "reloadSpeed: 0.18" "commanding: 0.18" "general: 0.18" "-----------------------------------------------------" 1 Share this post Link to post Share on other sites