Mostly Harmless

UE1:VoiceEvent (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
RTNP Object >> Actor >> Triggers >> SpecialEvent >> VoiceEvent
Package: 
UPak

VoiceEvent: Receives trigger messages and plays a gender specific voice based on the player's class.

Properties

Property group 'VoiceEvent'

FemaleClass

Type: class<PlayerPawn>

Array size: 8


Default value: Class'UPak.UPakFemale'

FemaleVoice

Type: Sound


MaleClass

Type: class<PlayerPawn>

Array size: 8


Default value: Class'UPak.UPakMale'

MaleVoice

Type: Sound


Instance functions

IsFemale

function bool IsFemale (Pawn Other)


IsMale

function bool IsMale (Pawn Other)


States

PlayVoice

Modifiers: auto

PlayVoice.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: SpecialEvent.Trigger (global)