# Strange Zone Not Found Error

**URL:** <https://forum.vassalengine.org/t/strange-zone-not-found-error/11178>\
**Category:** Module Design\
**Created:** [September 25, 2020, 1:30am UTC](https://forum.vassalengine.org/t/strange-zone-not-found-error/11178 "2020-09-25T01:30:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cundiff](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@Cundiff](https://forum.vassalengine.org/u/Cundiff)\
**Post date:** [September 25, 2020, 1:30am UTC](https://forum.vassalengine.org/t/strange-zone-not-found-error/11178/1 "2020-09-25T01:30:52Z")

</div>

Howdy Gents,

Been doing this for a couple of years now and you’d think there wasn’t a Zone I couldn’t possibly build right. It’s not rocket science. It’s as easy and basic as it gets … I thought.

- Bad Data in Module: British Bomber [Return to Deck] - Expression evaluation error {Main Map}
- Bad Data in Module: British Bomber [Send to Location - Send to Enemy] - Zone not found Zone[{Enemy}]=
- Bad Data in Module: British Bomber [Send to Location - Send to Destroyed] - Zone not found Zone[{Destroyed}]=

Now there’s one other oddity. When I draw a bomber from the stack, I try to send it to it’s Ready Box. But it’s Grayed Out. However, I can send it to the Enemy Destroyed Stack, and THEN the Ready Box is Black and available for me to send aircraft to the Ready Box. But the Send to Ready Box should be available ALL the time.

All these Send To commands are housed in the Game Piece Prototype - Aircraft Prototype.

Some work, some don’t, but they all look the same to me. I cannot figure out why some don’t work. And I cannot figure out why the zones are not recognized.

This should be easy, or at least I thought.

I’ve already loaded this to my DropBox

HELP !

---

<div class="post-metadata">

**Author:** ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)\
**Post date:** [September 25, 2020, 3:37am UTC](https://forum.vassalengine.org/t/strange-zone-not-found-error/11178/2 "2020-09-25T03:37:12Z")

</div>

Could you show the source of that Beanshell?

{Main Map} is an invalid Beanshell expression.

It should be {“Main Map”}

If you are mixing $$ variables, you still need the quotes, so it would be

{"$CurrentMap$"}

Regards.

---

<div class="post-metadata">

**Author:** ![Cundiff](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@Cundiff](https://forum.vassalengine.org/u/Cundiff)\
**Post date:** [September 25, 2020, 4:13am UTC](https://forum.vassalengine.org/t/strange-zone-not-found-error/11178/3 "2020-09-25T04:13:01Z")

</div>

I dropped you a PM with the module’s DropBox link.

I appreciate your help,  
Thanks,  
Tom

---

<div class="post-metadata">

**Author:** ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)\
**Post date:** [September 25, 2020, 4:40am UTC](https://forum.vassalengine.org/t/strange-zone-not-found-error/11178/4 "2020-09-25T04:40:42Z")

</div>

In your Send To Location traits in your Aircraft prototype, the Map and Zone names can be specified in one of two ways:

a) The actual name of the map with no quotation marks e.g. `
Main Map
`  
or  
b) A {} expression that generates the name of the map e.g. `
{"Main Map"}
`

Using `
{Main Map}
` for the Send to Ready, Destroyed or Enemy zones is not correct. The Send to Enemy Destroyed is correct.

Similarly for Zones. Ready and Enemy Destroyed are incorrect, Destoyed and Enemy are correct.

Regards.

---

<div class="post-metadata">

**Author:** ![Cundiff](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@Cundiff](https://forum.vassalengine.org/u/Cundiff)\
**Post date:** [September 25, 2020, 5:22am UTC](https://forum.vassalengine.org/t/strange-zone-not-found-error/11178/5 "2020-09-25T05:22:04Z")

</div>

EXCELLENT !! That worked perfectly. Thanks Much,  
Tom
