That’s a great idea. You can make the soldiers patrol with the ai.PatrolsAndAttacks
Component with the patrolChaseRange
set to 0
meters.
Otherwise, it looks good to me. Want to submit a pull request adding it to the user-created levels section of the site? https://github.com/codecombat/codecombat/blob/master/app/views/play_view.coffee#L216