EVENT RECOGSOUND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
added recogsound event by Fox
 
mNo edit summary
 
Line 1: Line 1:
{{EventTable|1=EVENT_RECOGSOUND|2=[[screenpeek]]|3=sprite playing sound|4=1 value}}
EVENT_RECOGSOUND is a [[EDuke32 event list|Game Event]].
EVENT_RECOGSOUND is a [[EDuke32 event list|Game Event]].


Set RETURN to -1 to disable the sound played when an enemy awakens. You have to use a command to play a sound, because the bosses use globalsound.
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.
[[Category:Events]]
[[Category:Events]]

Latest revision as of 01:22, 5 February 2022

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.