I don't need to test my programs. I have an error-correcting modem.
UE2:U2DispatcherEX (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents |
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
U2DispatcherEX.uc Created By: Matthias Worch Created On: 12/20/02 $Author: Mworch $ $Date: 12/12/02 23:36 $ $Revision: 1 $ This is a much improved Dispatcher class. Combines old Dispatcher and SoundDispatcher functionality and TriggerOnceOnly support (to each element). bPlay(Sound)OnPlayer also finally works. How to use: Should be self-explanatory. Note that you control the pitch, volume, radius etc. of each sound by changing the values of the target actor that actually plays the sound. bTriggerNPCs is still set in the Trigger tab and is valid for the entire dispatcher.
[edit] Properties
[edit] Property group 'U2DispatcherEX'
[edit] bLoop
Type: bool
start over
[edit] EventList
Type: array<DispatchEvent>
[edit] Internal variables
[edit] i
Type: int
internal dispatcher counter
[edit] PCCache
Type: PlayerController
[edit] SoundSourceCache
[edit] Default values
| Property | Value |
|---|---|
| InitialState | ' |
| Texture | Texture'Legend.S_Dispatcher' |
[edit] Structs
[edit] DispatchEvent
Modifiers: native
- float PreDelay
- relative delay before anything in this element happens
- bool bRandomizeDelay
- generate random delay between 0 and PreDelay
- name Event
- event to generate
- bool bOnceOnly
- event/sound in this element only happen once. Remember that you're disabling the Delay, too!
- Sound Sound
- sound to play (ignore SoundTableTag)
- name SoundSourceTag
- object name of actor that plays the sound (if 'none' play on self )
- bool bPlayOnPlayer
- play sound on player?
- bool bDisabled
- to keep track of bOnceOnly elements
[edit] Functions
[edit] Events
[edit] PreBeginPlay
Overrides: Actor.PreBeginPlay
[edit] Other instance functions
[edit] PlaySoundOnActor
[edit] PlaySoundOnPlayer
[edit] States
[edit] Dispatch
[edit] InitiallyOn
[edit] TriggeredDispatcher
[edit] TriggeredDispatcher.Trigger
Overrides: Actor.Trigger (global)
