My program doesn't have bugs. It just develops random features.
UE3:PlayerController native functions (UDK)
Object >> Actor >> Controller >> PlayerController (native functions) |
Contents
- 1 Native functions
- 1.1 ClientConvolve
- 1.2 ClientFlushLevelStreaming
- 1.3 ClientTravel
- 1.4 ServerNotifyLoadedWorld
- 1.5 ServerProcessConvolve
- 1.6 ServerUpdateLevelVisibility
- 1.7 CheckSpeedHack
- 1.8 CleanUpAudioComponents
- 1.9 ClientUpdateLevelStreamingStatus
- 1.10 ConsoleCommand
- 1.11 CopyToClipboard
- 1.12 CreateTTSSoundCue
- 1.13 FindStairRotation
- 1.14 ForceSingleNetUpdateFor
- 1.15 GetDefaultURL
- 1.16 GetPlayerNetworkAddress
- 1.17 GetPooledAudioComponent
- 1.18 GetServerNetworkAddress
- 1.19 GetViewTarget
- 1.20 HasClientLoadedCurrentWorld
- 1.21 IsControllerTiltActive
- 1.22 IsKeyboardAvailable
- 1.23 IsLocalPlayerController
- 1.24 IsMouseAvailable
- 1.25 IsPlayerMuted
- 1.26 IsShowingSubtitles
- 1.27 LogOutBugItAIGoToLogFile
- 1.28 LogOutBugItGoToLogFile
- 1.29 PasteFromClipboard
- 1.30 SetAllowMatureLanguage
- 1.31 SetControllerTiltActive
- 1.32 SetControllerTiltDesiredIfAvailable
- 1.33 SetNetSpeed
- 1.34 SetOnlyUseControllerTiltInput
- 1.35 SetUseTiltForwardAndBack
- 1.36 SetViewTarget
- 1.37 UpdateURL
- PlayerController native functions in other games:
- UT3
- Other member categories for this class:
- events, exec functions, instance functions, internal variables, states
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Native functions[edit]
ClientConvolve[edit]
ClientFlushLevelStreaming[edit]
tells the client to block until all pending level streaming actions are complete happens at the end of the tick primarily used to force update the client ASAP at join time
ClientTravel[edit]
Travel to a different map or IP address. Calls the PreClientTravel event before doing anything.
Parameters:
- URL - a string containing the mapname (or IP address) to travel to, along with option key/value pairs
- TravelType - specifies whether the client should append URL options used in previous travels; if TRUE is specified for the bSeamlesss parameter, this value must be TRAVEL_Relative.
- bSeamless - indicates whether to use seamless travel (requires TravelType of TRAVEL_Relative)
- MapPackageGuid - the GUID of the map package to travel to - this is used to find the file when it has been autodownloaded, so it is only needed for clients
ServerNotifyLoadedWorld[edit]
called to notify the server when the client has loaded a new world via seamless travelling
Parameters:
- WorldPackageName - the name of the world package that was loaded
ServerProcessConvolve[edit]
ServerUpdateLevelVisibility[edit]
called when the client adds/removes a streamed level the server will only replicate references to Actors in visible levels so that it's impossible to send references to Actors the client has not initialized
Parameters:
- PackageName - the name of the package for the level whose status changed
CheckSpeedHack[edit]
CleanUpAudioComponents[edit]
Clears out 'left-over' audio components.
ClientUpdateLevelStreamingStatus[edit]
ConsoleCommand[edit]
Overrides: Actor.ConsoleCommand
CopyToClipboard[edit]
CreateTTSSoundCue[edit]
Constructs a SoundCue, performs text-to-wavedata conversion.
FindStairRotation[edit]
ForceSingleNetUpdateFor[edit]
forces a full replication check of the specified Actor on only the client that owns this PlayerController (equivalent to setting bForceNetUpdate and bNetDirty to true, but only for that client) this function has no effect if this PC is not a remote client or if the Actor is not relevant to that client
GetDefaultURL[edit]
GetPlayerNetworkAddress[edit]
GetPooledAudioComponent[edit]
get an audio component from the HearSound pool creates a new component if the pool is empty and MaxConcurrentHearSounds has not been exceeded the component is initialized with the values passed in, ready to call Play() on its OnAudioFinished delegate is set to this PC's HearSoundFinished() function
Parameters:
- ASound - the sound to play
- SourceActor - the Actor to attach the sound to (if None, attached to self)
- bStopWhenOwnerDestroyed - whether the sound stops if SourceActor is destroyed
- bUseLocation - optional) - whether to use the SourceLocation parameter for the sound's location (otherwise, SourceActor's location)
- SourceLocation - optional) - if bUseLocation, the location for the sound
Returns:
- the AudioComponent that was found/created
GetServerNetworkAddress[edit]
GetViewTarget[edit]
HasClientLoadedCurrentWorld[edit]
returns whether the client has completely loaded the server's current world (valid on server only)
IsControllerTiltActive[edit]
Returns:
- whether or not this Controller has Tilt Turned on
IsKeyboardAvailable[edit]
Returns:
- whether or not this Controller has a keyboard available to be used
IsLocalPlayerController[edit]
Overrides: Controller.IsLocalPlayerController
returns whether this Controller is a locally controlled PlayerController
Note: not valid until the Controller is completely spawned (i.e, unusable in Pre/PostBeginPlay())
IsMouseAvailable[edit]
Returns:
- whether or not this Controller has a mouse available to be used
IsPlayerMuted[edit]
Native function to determine if voice data should be received from this player. Only called on the server to determine whether voice packet replication should happen for the given sender.
NOTE: This function is final because it can be called n^2 number of times in a given frame, where n is the number of players. Change/overload this function with caution as this can affect your network performance.
Parameters:
- Sender - the player to check for mute status
Returns:
- TRUE if this player is muted, FALSE otherwise
IsShowingSubtitles[edit]
This will turn return whether the subtitles are on or off
LogOutBugItAIGoToLogFile[edit]
LogOutBugItGoToLogFile[edit]
PasteFromClipboard[edit]
SetAllowMatureLanguage[edit]
Whether or not to allow mature language *
SetControllerTiltActive[edit]
sets whether or not the Tilt functionality is turned on
SetControllerTiltDesiredIfAvailable[edit]
sets whether or not the the player wants to utilize the Tilt functionality
SetNetSpeed[edit]
SetOnlyUseControllerTiltInput[edit]
sets whether or not to ONLY use the tilt input controls
SetUseTiltForwardAndBack[edit]
sets whether or not to use the tilt forward and back input controls