We have already created the basis of the file that you will be using for restricting movement on certain types of terrain. This file can be found in the Examples folder on the CD-ROM provided with this book. The file is called terrainmod. mfa. The code is the same as the examples in Chapter 6, except for a few minor changes to take into account that there are three units on the screen now rather than two.
Load the file into MMF2 and double click on the text Frame 1 to display the frame editor. You will be able to see the frame, which contains a number of tiles, three dinosaur units, and some red directional units currently placed off the frame. You can see this in Figure 7.5.