Your first mission (part 8) This is the eighth part of 'Your first mission' make sure you have read the previous parts before you start. Take your camera to the first enemy housing building then turn on dummies by pressing D and turn on checkpoints by pressing Ctrl + Shift + K. Look at the picture below. Now I want you to setup your enemy soldiers programming like I have below. As we have learnt before SETVISIBLE with it's visibility set to false will make the enemy invisible. WAIT SIGNAL SUSPENDED means your soldier must stay like he is until he receives a signal, in this case the ID/Count is 21. We'll get to who or what sent that signal in a moment. Now once that signal has been received the SETVISIBLE has been set to true so now the enemy is visible. Finally we tell the enemy soldier to GUARD the Subject/CP0 named g1 and his Visibility/Run status is set to true. This means that the enemy soldier will run to that subject or checkpoint. We just told the enemy to wait for a signal from 21 and to run to g1. If you click the dummy in front of the house and press Ctrl + Enter to bring up it's properties then open up the menu tree for 'Detect what' you'll have what's below. Turn the camera back to facing the building and select the detector in front of it again. Now we know where that signal 1 is coming from. Bring up the properties of the detector in front of the building again. Open up the 'Actions' menu tree like below. It took a bit but I finally told you who sent the signal of 21 to your enemy soldier. I wanted to teach you more about detectors and signals so I told you where everything came from as well. Now if you bring up your enemy soldiers properties then look at the programming we tell the soldier to go to the checkpoint g1 but there is no g1 so lets make it. Move your camera up in the air about 10 metres then go to CheckPoint > Create or simply press Shift + K to create a checkpoint. Change it to a user checkpoint which is green by going to CheckPoint > Set Type. Now go to CheckPoint > Rename and name it g1 then place the checkpoint where ever you want the enemy soldier to run to when the siren goes off. I placed my next to the run way if you look below. Now to go on to part 9 of the tutorial, click here Written by Jason Batten |