Gah - a solution with more questions. – EntropicLqd
UE3:UTGame instance functions (UDK)
Contents
- 1 Instance functions
- 1.1 ActivateVehicleFactory
- 1.2 AddBot
- 1.3 AddInitialBots
- 1.4 AddMutator
- 1.5 AdjustSkill
- 1.6 AllowBecomeActivePlayer
- 1.7 AllowCheats
- 1.8 AllowClientToTeleport
- 1.9 AssignHoverboard
- 1.10 AtCapacity
- 1.11 BecomeSpectator
- 1.12 BroadcastDeathMessage
- 1.13 CalculatedNetSpeed
- 1.14 CampaignSkillAdjust
- 1.15 CanDisableObjective
- 1.16 CanSpectate
- 1.17 ChangeName
- 1.18 CheckEndGame
- 1.19 CheckMaxLives
- 1.20 CheckScore
- 1.21 ChoosePlayerStart
- 1.22 ContinueSeamlessTravel
- 1.23 DecodeEvent
- 1.24 DiscardInventory
- 1.25 DominatingVictory
- 1.26 DriverEnteredVehicle
- 1.27 DriverLeftVehicle
- 1.28 EndGame
- 1.29 EndLogging
- 1.30 EndRound
- 1.31 EndSpree
- 1.32 FindNewObjectives
- 1.33 FindPlayerStart
- 1.34 ForceRespawn
- 1.35 GetAutoObjectiveFor
- 1.36 GetBaseUTMutator
- 1.37 GetBotTeam
- 1.38 GetCurrentMapCycleIndex
- 1.39 GetEndGameConditionRule
- 1.40 GetHandicapNeed
- 1.41 GetLocationFor
- 1.42 GetMapTypeRule
- 1.43 GetNextMap
- 1.44 GetSinglePlayerResult
- 1.45 GetTravelType
- 1.46 InitGameReplicationInfo
- 1.47 InitializeBot
- 1.48 IsAWinner
- 1.49 IsConsoleDedicatedServer
- 1.50 JustStarted
- 1.51 KillBot
- 1.52 Killed
- 1.53 LevelRecommendedPlayers
- 1.54 Logout
- 1.55 MatchIsInProgress
- 1.56 NeedPlayers
- 1.57 NotifyNavigationChanged
- 1.58 NotifySpree
- 1.59 ObjectiveDisabled
- 1.60 PlayEndOfMatchMessage
- 1.61 PlayRegularEndOfMatchMessage
- 1.62 PlayStartupMessage
- 1.63 ProcessServerTravel
- 1.64 ProcessSpeechRecognition
- 1.65 RatePlayerStart
- 1.66 ReduceDamage
- 1.67 RegisterVehicle
- 1.68 RemovePlayerFromMuteLists
- 1.69 ResetAllPlayerMuteListsToSpectatorChannel
- 1.70 RestartGame
- 1.71 RestartPlayer
- 1.72 ScoreKill
- 1.73 SetEndGameFocus
- 1.74 SetGameSpeed
- 1.75 SetPause
- 1.76 SetupPlayerMuteList
- 1.77 ShouldRespawn
- 1.78 ShowPathTo
- 1.79 SinglePlayerAddBot
- 1.80 SkipCinematics
- 1.81 SkipPlaySound
- 1.82 SpawnBot
- 1.83 SpawnWait
- 1.84 StartMatch
- 1.85 TooManyBots
- 1.86 UpdateGameplayMuteList
- 1.87 UpdateGameSettings
- 1.88 UpdateGameSettingsCounts
- 1.89 ViewObjective
- 1.90 WantFastSpawnFor
- 1.91 WriteOnlinePlayerScores
- UTGame instance functions in other games:
- UT3
- Other member categories for this class:
- internal variables
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. |
Instance functions
ActivateVehicleFactory
ActivateVehicleFactory() Called by UTVehicleFactory in its PostBeginPlay()
AddBot
AddInitialBots
AddMutator
Overrides: GameInfo.AddMutator
AdjustSkill
AllowBecomeActivePlayer
AllowCheats
Overrides: GameInfo.AllowCheats
AllowCheats - Allow cheating in single player games and coop games.
AllowClientToTeleport
This function allows the server to override any requested teleport attempts from a client
Returns:
- returns true if the teleport is allowed
AssignHoverboard
AtCapacity
Overrides: GameInfo.AtCapacity
BecomeSpectator
BroadcastDeathMessage
Overrides: GameInfo.BroadcastDeathMessage
CalculatedNetSpeed
Overrides: GameInfo.CalculatedNetSpeed
CampaignSkillAdjust
Called to adjust skill when bot respawns
CanDisableObjective
CanSpectate
Overrides: GameInfo.CanSpectate
ChangeName
Overrides: GameInfo.ChangeName
CheckEndGame
Overrides: GameInfo.CheckEndGame
CheckMaxLives
CheckScore
Overrides: GameInfo.CheckScore
ChoosePlayerStart
Overrides: GameInfo.ChoosePlayerStart
(Description copied from GameInfo.ChoosePlayerStart)
ChoosePlayerStart() Return the 'best' player start for this player to start from. PlayerStarts are rated by RatePlayerStart().
Parameters:
- Player - is the controller for whom we are choosing a playerstart
- InTeam - specifies the Player's team (if the player hasn't joined a team yet)
Returns:
- NavigationPoint chosen as player start (usually a PlayerStart)
ContinueSeamlessTravel
DecodeEvent
DiscardInventory
Overrides: GameInfo.DiscardInventory
DominatingVictory
DriverEnteredVehicle
Overrides: GameInfo.DriverEnteredVehicle
DriverLeftVehicle
Overrides: GameInfo.DriverLeftVehicle
EndGame
Overrides: GameInfo.EndGame
EndLogging
Overrides: GameInfo.EndLogging
EndRound
ends the current round; sends the game into state RoundOver and sets the ViewTarget for all players to be the given actor
EndSpree
FindNewObjectives
re-evaluate objectives for players because the specified one has been changed/completed
FindPlayerStart
Overrides: GameInfo.FindPlayerStart
FindPlayerStart() Return the 'best' player start for this player to start from. PlayerStarts are rated by RatePlayerStart().
Parameters:
- Player - is the controller for whom we are choosing a playerstart
- InTeam - specifies the Player's team (if the player hasn't joined a team yet)
- IncomingName - specifies the tag of a teleporter to use as the Playerstart
Returns:
- NavigationPoint chosen as player start (usually a PlayerStart)
ForceRespawn
ForceRespawn() returns true if dead players should respawn immediately
GetAutoObjectiveFor
Returns:
- an objective that should be recommended to the given player based on their auto objective settings and the current game state
GetBaseUTMutator
Returns:
- the first mutator in the mutator list that's a UTMutator
GetBotTeam
GetCurrentMapCycleIndex
Returns:
- the index of the current map in the given list (used when starting up a server to start counting at the current map)
GetEndGameConditionRule
GetHandicapNeed
return a value based on how much this pawn needs help
GetLocationFor
Returns through outparameters what location message to play Returns true if it returned message information
GetMapTypeRule
GetNextMap
Overrides: GameInfo.GetNextMap
Returns the next map to play. If we are in story mode, we need to go back to the map selection menu
GetSinglePlayerResult
Retuns: the results of the match.
GetTravelType
Overrides: GameInfo.GetTravelType
Returns true if we want to travel_absolute
InitGameReplicationInfo
Overrides: GameInfo.InitGameReplicationInfo
InitializeBot
IsAWinner
IsConsoleDedicatedServer
Returns:
- whether we are running a console "fake" dedicated server (listen server with rendering turned off)
JustStarted
KillBot
Killed
Overrides: GameInfo.Killed
LevelRecommendedPlayers
Logout
Overrides: GameInfo.Logout
MatchIsInProgress
Overrides: GameInfo.MatchIsInProgress
NeedPlayers
Overrides: GameInfo.NotifyNavigationChanged
notification when a NavigationPoint becomes blocked or unblocked
NotifySpree
ObjectiveDisabled
PlayEndOfMatchMessage
PlayRegularEndOfMatchMessage
PlayStartupMessage
ProcessServerTravel
Overrides: GameInfo.ProcessServerTravel
ProcessSpeechRecognition
parses the given player's recognized speech into bot orders, etc
RatePlayerStart
Overrides: GameInfo.RatePlayerStart
RatePlayerStart() Return a score representing how desireable a playerstart is.
Parameters:
- P - is the playerstart being rated
- Team - is the team of the player choosing the playerstart
- Player - is the controller choosing the playerstart
Returns:
- playerstart score
ReduceDamage
Overrides: GameInfo.ReduceDamage
RegisterVehicle
RemovePlayerFromMuteLists
Removes the specified player from all other player's mute lists
Parameters:
- PC - Player controller to remove from other mute lists
ResetAllPlayerMuteListsToSpectatorChannel
Reset everyone's channel to the same thing and then rebuild the gameplay mute lists for each player
RestartGame
Overrides: GameInfo.RestartGame
RestartPlayer
Overrides: GameInfo.RestartPlayer
ScoreKill
Overrides: GameInfo.ScoreKill
SetEndGameFocus
SetGameSpeed
Overrides: GameInfo.SetGameSpeed
SetPause
Overrides: GameInfo.SetPause
Only allow local players to pause
SetupPlayerMuteList
Sets up the voice mute list based upon this player's team/spectator state. Opponents are added the specified player's mute list and vice versa.
Parameters:
- PC - the player controller to initialize muting for
ShouldRespawn
Overrides: GameInfo.ShouldRespawn
ShowPathTo
displays the path to the given base for the given player
SinglePlayerAddBot
SkipCinematics
SkipPlaySound
SpawnBot
SpawnWait
StartMatch
Overrides: GameInfo.StartMatch
TooManyBots
Look at the current game rules and determine if there are too many bots. In a single player game, this function will always return false since the teams are preset and changes are not allowed.
Parameters:
- BotToRemove - The Bot to remove
UpdateGameplayMuteList
Overrides: GameInfo.UpdateGameplayMuteList
This is called once the client has sent the server their unique net id. It is now possible to set up their mute list.
Parameters:
- PC - the playercontroller that is ready for updates
UpdateGameSettings
Overrides: GameInfo.UpdateGameSettings
Used to update any changes in game settings that need to be published to players that are searching for games
UpdateGameSettingsCounts
Overrides: GameInfo.UpdateGameSettingsCounts
Updates the online subsystem's information for player counts so that LAN matches can show the correct player counts
ViewObjective
WantFastSpawnFor
WriteOnlinePlayerScores
Overrides: GameInfo.WriteOnlinePlayerScores
Write player scores used in skill calculations