Okay, I believe I figured out what is causing the pop-up error, and it has nothing to do with my code in SED. When I delete the "region" I created in the WED file, and I restart the game, the error is gone. However, when I place the region back into the WED file, the error comes back when I restart the game. Specifically, the pop-up error is:

Code:
Error E1513
Script crash in terrain_get_z:
OK                Cancel



Has anyone else had this particular situation? If so, any ideas on how you solved it?