(Old code tutorial) Death guard trick from Team Aardwolf Forums

View previous topic View next topic Go down

(Old code tutorial) Death guard trick from Team Aardwolf Forums

Post by Officer-M. John (Admin) on Sat Apr 23, 2016 8:41 am

Open WL_Act2.C and search for this block
of code:

Code:

/*
===============
=
= SpawnDeadGuard
=
===============
*/

void SpawnDeadGuard (int tilex, int tiley)
{
  SpawnNewObj (tilex,tiley,&s_grddie4);
  new->obclass = inertobj;
}

Now change the "&s_grddie4" to "&s_grddie1" (withouh quotes).
And there you go..

Now if you place the death guard near the player.
Instead of the death guard you will see the guard actually dying.

Writte by WLHack on Sat Jul 28, 2007 12:38 pm
avatar
Officer-M. John (Admin)
Admin

Posts : 328
Join date : 2015-10-02
Age : 19

View user profile http://wolf3dfanboys.usersboard.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum