1. place in the map static AI-machine gunner
2. place yourself as any soldier
3. attach a static AI-gunner to itself as a subordinate unit
4. set the amount of ammo in the turret properties to 0
5. run rhe game
After starting the game, the AI-gunner will report about the lack of ammunition, but will not leave the useless turret