If the enemy values must be 1,2,3,4 then use choose(1,2,3,4), 4 separate values. Or use enemy names, it might be easier.
Your point is very clear. But for it, I need to manually write actions for each location.
I want to minimize my code. For each location, I could set the variable loc_monsters which would contain a string with minions IDs. But the expression "choose" didn't work with one string.
In my example, I need to fill my array enemiesGroup with random values from string loc_monsters. But I don't know how or is it even possible.