Code Editing Tutorials
Adding Landmines

Step 1. Open up WL_AGENT.C and search for "bo_cross". Now replace everything under "Case bo_cross" with:

TakeDamage(30,NULL); // 30 is a variable for the amount of health to remove. You can customize this ofcourse!

break;
Step 2. Save the file and compile. Now it works!



 


 

Get back to the Dome tutorials
Jump to the top