| Home Page | Recent Changes | Preferences

Pawn (UT)/Audio

UT :: Actor (UT) >> Pawn (UT) (Audio Functions)

Sound Functions

PlayTakeHitSound (int Damage, name damageType, int Mult)
Called to play the "ouch" sound when the pawn takes damage.
Gasp ( )
This function is called to play an appropriate sound when a pawn surfaces from being "underwater".
ClientVoiceMessage (PlayerReplicationInfo (UT) Sender, PlayerReplicationInfo (UT) Recipient, name messagetype, byte messageID)
Called to play a "voice message" on the client.
BotVoiceMessage (name messagetype, byte MessageID, Pawn (UT) Sender)
Called when a bot wishes to send a "team" voice message.
SendVoiceMessage (PlayerReplicationInfo (UT) Sender, PlayerReplicationInfo (UT) Recipient, name messagetype, byte messageID, name broadcasttype )
This function sends a voice message to the specified recipient. The function has built in spam protection and uses the broadcasttype parameter (GLOBAL or TEAM) to determine whether to send it to the specified recipient or not.

Related Topics

  • /Graphics And Animation for the list of functions used to handle pawn animations and graphics.
  • /Movement for the list of functions used to handle pawn movement.
  • /AI Functions for the list of functions used by the AI system to bring the pawns to life.
  • /Events for the list of events available to pawn's.
  • /Inventory for the functions available to a pawn when it needs to manipulate its inventory.
  • Other /Functions of the Pawn class.

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In