A_ScreamAndUnblock

From ZDoom Wiki
Jump to: navigation, search

A_ScreamAndUnblock

(no parameters)


Plays the death sound and then calls A_NoBlocking.

Examples

A_ScreamAndUnblock is a easier way of combining A_Scream and A_NoBlocking. The following code is the complicated version...

   DEMO H 8
   DEMO I 0 A_Scream
   DEMO I 8 A_NoBlocking
   DEMO J 6
   DEMO K -1
   stop


...and this is the easier version:

  DEMO H 8
  DEMO I 8 A_ScreamAndUnblock
  DEMO J 6
  DEMO K -1
  stop