EVENT RECOGSOUND

From EDukeWiki
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_RECOGSOUND screenpeek sprite playing sound 1 value

EVENT_RECOGSOUND is a Game Event.

The event is triggered when Duke3D enemies try to play their hardcoded alert sound. The following enemies have an alert sound defined:

  • Liztroops
  • Pigcops
  • Enforcers
  • Recon Cars
  • Sentry Drones
  • Assault Commanders
  • Octabrains
  • Greenslimes
  • All bosses and minibosses (including Duke's one-liners)
  • Organtics (unused)

Newbeasts, Slimer Eggs, Turrets, Tanks and Sharks do not have an alert sound associated with this event.

RETURN is set to 0 by default. Set it to a non-zero value to disable the hardcoded alert sound.

Obviously this is unnecessary for useractors.