# "FOR" loop ignored by the code when using a MAP with array as value.

**URL:** <https://forums.unrealengine.com/t/for-loop-ignored-by-the-code-when-using-a-map-with-array-as-value/2244491>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [December 26, 2024, 9:55pm UTC](https://forums.unrealengine.com/t/for-loop-ignored-by-the-code-when-using-a-map-with-array-as-value/2244491 "2024-12-26T21:55:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiogoLoko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DiogoLoko](https://forums.unrealengine.com/u/DiogoLoko)\
**Post date:** [December 26, 2024, 9:55pm UTC](https://forums.unrealengine.com/t/for-loop-ignored-by-the-code-when-using-a-map-with-array-as-value/2244491/1 "2024-12-26T21:55:52Z")

</div>

My “for” loop is being ignored when i use a MAP that has a array in the value.  
Not a clue why…

var Players\_com\_revives: [player]int = map{}

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/3/0/03031a3b65c38be8d27461e2413ab3a076a0ab47.png)

Anyone know why? I don’t have any error returned.
