Code Editing Tutorials
Changing the enemies speeds

Step 1:

Open WL_STATE.C and do a search for "ob->speed"no quotes! If found you should see this: (this is the standard guard)

case guardobj:

PlaySoundLocActor (HALTSND,ob);

NewState (ob,&s_grdchase1);

ob->speed *= 3;


Step 2:

Change the "3" to whatever number you want.(for instance):

ob->speed *= 5;

NOTE: you can do this with every enemy.
Have fun with your fast or slow guards!


Get back to the Dome tutorials
Jump to the top