**IMPORTANT** **READ ALL INSTRUCTIONS!** ---------------------------------------------------------------------------------------------------Click on any of the units on the screen. *Note: If you press and hold your mouse, a box should appear. Move your mouse around, while pressing, to change the box dimensions. Any units inside of the box will be selected. *Note: The box select feature does not work on the Command Base -Click anywhere on the screen while a unit is selected. The unit should point and move to the point you clicked. *Note: The command base cannot move. *Note: If you click on a different unit, the unit you previously selected should not move to the newly selected unit. -Press 'C' while a unit is selected to access the chain movement feature. Then click on the screen wherever you want. The unit should go to the first place you clicked, then the second, and so on. *Note: You must be pressing 'C' while clicking to use the chaining feature -Press 'P' while a unit is selected to access the patrol feature. *Note: You must be pressing 'P' while clicking to access the patrol feature. -Press 'S' to stop all movement on all selected units. This also will cancel a building if the unit is moving. -Press 'M' while a unit is selected to access the mine feature, then click on a Mineral sprite. The selected units will proceed to move to that patch, will 'mine' it, then will return to the CLOSEST Command Base, increasing your Money by 5. It will keep doing this unless you tell it to do something else. *Note: You must be pressing 'M' while clicking to access the mining feature *Note: If you tell it to do something else while it has minerals, just tell it to go back to mining at whatever minerals you want it to. It will start mining again. *Note: If you are pressing 'M' and you DO NOT click on a mineral sprite, then the Unit selected will keep patrolling from that point to the closest Command Base ( or (0,0) if there is no Command Base Built -Press 'B' while a unit is selected to begin building something. Press 'C' to build a Command Base. Then move your mouse around the screen. If the color is green, and if the building is in your desired location, press down. *Note: It costs 400 to build a Command Base *Note: Press 'X' to cancel the building process. The miner will keep moving to the selected point, but it won't build. If the unit is currently building, you will be completely refunded. -Press 'M' while a Command Base is selected to build a Miner. This costs 50 to build. Press 'X' while a Command Base is selected to cancel a Miner. You will be completely refunded. -Arrow keys to scroll through the map. -Press 'space' to jump to the selected unit. *Note: This does glitch sometimes. If that happens with the miner, just tell it to start mining again.
This is an engine for anyone who has the hopes of making a decent RTS (Real Time Strategy) game. All of the scripts are mine, except for the progress/health bar, which I got from @thelogfather. I will be making more engines as I start work on my own RTS. These are made to be easy to understand. Please comment if you have any questions or suggestions! Everything you need to know should be in the instructions. So here is what I will be doing for the next version. Remember, all versions later than the one before it include everything from the previous versions. v4.0- More Buildings and Units