Mostly Harmless
UE3:UTGame instance functions (UT3)
Contents
- 1 Instance functions
- 1.1 ActivateVehicleFactory
- 1.2 AddBot
- 1.3 AddInitialBots
- 1.4 AddMutator
- 1.5 AdjustSkill
- 1.6 AllowBecomeActivePlayer
- 1.7 AllowBecomeHero
- 1.8 AllowCheats
- 1.9 AllowClientToTeleport
- 1.10 AssignHoverboard
- 1.11 AtCapacity
- 1.12 BecomeSpectator
- 1.13 BroadcastDeathMessage
- 1.14 CampaignSkillAdjust
- 1.15 CanDisableObjective
- 1.16 CanSpectate
- 1.17 ChangeName
- 1.18 CheckEndGame
- 1.19 CheckMaxLives
- 1.20 CheckScore
- 1.21 CheckTeamSize
- 1.22 ChoosePlayerStart
- 1.23 ContinueSeamlessTravel
- 1.24 DecodeEvent
- 1.25 DiscardInventory
- 1.26 DoEndGameMapVote
- 1.27 DoMapVote
- 1.28 DominatingVictory
- 1.29 DriverEnteredVehicle
- 1.30 DriverLeftVehicle
- 1.31 EndGame
- 1.32 EndRound
- 1.33 EndSpree
- 1.34 FindNewObjectives
- 1.35 FindPlayerStart
- 1.36 ForceRespawn
- 1.37 GetAutoObjectiveFor
- 1.38 GetBaseUTMutator
- 1.39 GetBestLocker
- 1.40 GetBotSkillLevel
- 1.41 GetBotTeam
- 1.42 GetCurrentMapCycleIndex
- 1.43 GetEndGameConditionRule
- 1.44 GetHandicapNeed
- 1.45 GetLocationFor
- 1.46 GetMapTypeRule
- 1.47 GetNextMap
- 1.48 GetNextPickupIndex
- 1.49 GetSinglePlayerResult
- 1.50 GetTravelType
- 1.51 InitGameReplicationInfo
- 1.52 InitializeBot
- 1.53 InitializeMapListManager
- 1.54 InitializeVoteCollector
- 1.55 InitialProcessingIsComplete
- 1.56 IsAWinner
- 1.57 IsMPOrHardBotsGame
- 1.58 IsValidMutatorsForLikeTheBackOfMyHand
- 1.59 JustStarted
- 1.60 KillBot
- 1.61 Killed
- 1.62 LevelRecommendedPlayers
- 1.63 Logout
- 1.64 MatchIsInProgress
- 1.65 NeedPlayers
- 1.66 NotifyNavigationChanged
- 1.67 NotifySpree
- 1.68 ObjectiveDisabled
- 1.69 PickupQuery
- 1.70 PlayEndOfMatchMessage
- 1.71 PlayRegularEndOfMatchMessage
- 1.72 PlayStartupMessage
- 1.73 ProcessServerTravel
- 1.74 ProcessSpeechRecognition
- 1.75 ProvideHeroBonus
- 1.76 RatePlayerStart
- 1.77 ReduceDamage
- 1.78 RegisterServer
- 1.79 RegisterVehicle
- 1.80 RemovePlayerFromMuteLists
- 1.81 ResetAllPlayerMuteListsToSpectatorChannel
- 1.82 RestartGame
- 1.83 RestartPlayer
- 1.84 ScoreKill
- 1.85 SetAlias
- 1.86 SetEndGameFocus
- 1.87 SetGameSpeed
- 1.88 SetPause
- 1.89 SetupPlayerMuteList
- 1.90 ShotTeammate
- 1.91 ShouldRespawn
- 1.92 ShowPathTo
- 1.93 SinglePlayerAddBot
- 1.94 SkipCinematics
- 1.95 SkipPlaySound
- 1.96 SpaceAvailable
- 1.97 SpawnBot
- 1.98 SpawnWait
- 1.99 StartMatch
- 1.100 TooManyBots
- 1.101 TrackMemoryFunctor
- 1.102 TravelFailed
- 1.103 UpdateGameplayMuteList
- 1.104 UpdateGameSettings
- 1.105 UpdateGameSettingsCounts
- 1.106 ViewObjective
- 1.107 WantFastSpawnFor
- 1.108 WriteOnlinePlayerScores
- UTGame instance functions in other games:
- UDK
- Other member categories for this class:
- internal variables, constants
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[edit]
ActivateVehicleFactory[edit]
ActivateVehicleFactory() Called by UTVehicleFactory in its PostBeginPlay()
AddBot[edit]
AddInitialBots[edit]
AddMutator[edit]
Overrides: GameInfo.AddMutator
AdjustSkill[edit]
AllowBecomeActivePlayer[edit]
AllowBecomeHero[edit]
AllowCheats[edit]
Overrides: GameInfo.AllowCheats
AllowCheats - Allow cheating in single player games and coop games.
AllowClientToTeleport[edit]
This function allows the server to override any requested teleport attempts from a client
Returns:
- returns true if the teleport is allowed
AssignHoverboard[edit]
AtCapacity[edit]
Overrides: GameInfo.AtCapacity
BecomeSpectator[edit]
BroadcastDeathMessage[edit]
Overrides: GameInfo.BroadcastDeathMessage
CampaignSkillAdjust[edit]
Called to adjust skill when bot respawns
CanDisableObjective[edit]
CanSpectate[edit]
Overrides: GameInfo.CanSpectate
ChangeName[edit]
Overrides: GameInfo.ChangeName
CheckEndGame[edit]
Overrides: GameInfo.CheckEndGame
CheckMaxLives[edit]
CheckScore[edit]
Overrides: GameInfo.CheckScore
CheckTeamSize[edit]
ChoosePlayerStart[edit]
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[edit]
DecodeEvent[edit]
DiscardInventory[edit]
Overrides: GameInfo.DiscardInventory
DoEndGameMapVote[edit]
DoMapVote[edit]
DominatingVictory[edit]
DriverEnteredVehicle[edit]
Overrides: GameInfo.DriverEnteredVehicle
DriverLeftVehicle[edit]
Overrides: GameInfo.DriverLeftVehicle
EndGame[edit]
Overrides: GameInfo.EndGame
EndRound[edit]
ends the current round; sends the game into state RoundOver and sets the ViewTarget for all players to be the given actor
EndSpree[edit]
FindNewObjectives[edit]
re-evaluate objectives for players because the specified one has been changed/completed
FindPlayerStart[edit]
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[edit]
ForceRespawn() returns true if dead players should respawn immediately
GetAutoObjectiveFor[edit]
Returns:
- an objective that should be recommended to the given player based on their auto objective settings and the current game state
GetBaseUTMutator[edit]
Returns:
- the first mutator in the mutator list that's a UTMutator
GetBestLocker[edit]
GetBotSkillLevel[edit]
GetBotTeam[edit]
GetCurrentMapCycleIndex[edit]
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[edit]
GetHandicapNeed[edit]
return a value based on how much this pawn needs help
GetLocationFor[edit]
Returns through outparameters what location message to play Returns true if it returned message information
GetMapTypeRule[edit]
GetNextMap[edit]
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
GetNextPickupIndex[edit]
GetSinglePlayerResult[edit]
Retuns: the results of the match.
GetTravelType[edit]
Overrides: GameInfo.GetTravelType
Returns true if we want to travel_absolute
InitGameReplicationInfo[edit]
Overrides: GameInfo.InitGameReplicationInfo
InitializeBot[edit]
InitializeMapListManager[edit]
InitializeVoteCollector[edit]
InitialProcessingIsComplete[edit]
IsAWinner[edit]
IsMPOrHardBotsGame[edit]
IsValidMutatorsForLikeTheBackOfMyHand[edit]
JustStarted[edit]
KillBot[edit]
Killed[edit]
Overrides: GameInfo.Killed
LevelRecommendedPlayers[edit]
Logout[edit]
Overrides: GameInfo.Logout
MatchIsInProgress[edit]
Overrides: GameInfo.MatchIsInProgress
NeedPlayers[edit]
[edit]
Overrides: GameInfo.NotifyNavigationChanged
notification when a NavigationPoint becomes blocked or unblocked
NotifySpree[edit]
ObjectiveDisabled[edit]
PickupQuery[edit]
Overrides: GameInfo.PickupQuery
(Description copied from GameInfo.PickupQuery)
PickupQuery: Called when pawn has a chance to pick Item up (i.e. when the pawn touches a weapon pickup). Should return true if he wants to pick it up, false if he does not want it.
Parameters:
- Other - the Pawn that wants the item
- ItemClass - the Inventory class the Pawn can pick up
- Pickup - the Actor containing that item (this may be a PickupFactory or it may be a DroppedPickup)
Returns:
- whether or not the Pickup actor should give its item to Other
PlayEndOfMatchMessage[edit]
PlayRegularEndOfMatchMessage[edit]
PlayStartupMessage[edit]
ProcessServerTravel[edit]
Overrides: GameInfo.ProcessServerTravel
ProcessSpeechRecognition[edit]
parses the given player's recognized speech into bot orders, etc
ProvideHeroBonus[edit]
Give bonus hero points when a hero is spawned to anyone who has never been a hero
RatePlayerStart[edit]
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[edit]
Overrides: GameInfo.ReduceDamage
RegisterServer[edit]
Overrides: GameInfo.RegisterServer
Registers the dedicated server with the online service
RegisterVehicle[edit]
RemovePlayerFromMuteLists[edit]
Removes the specified player from all other player's mute lists
Parameters:
- PC - Player controller to remove from other mute lists
ResetAllPlayerMuteListsToSpectatorChannel[edit]
Reset everyone's channel to the same thing and then rebuild the gameplay mute lists for each player
RestartGame[edit]
Overrides: GameInfo.RestartGame
RestartPlayer[edit]
Overrides: GameInfo.RestartPlayer
ScoreKill[edit]
Overrides: GameInfo.ScoreKill
SetAlias[edit]
SetEndGameFocus[edit]
SetGameSpeed[edit]
Overrides: GameInfo.SetGameSpeed
SetPause[edit]
Overrides: GameInfo.SetPause
Only allow local players to pause
SetupPlayerMuteList[edit]
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
ShotTeammate[edit]
ShouldRespawn[edit]
Overrides: GameInfo.ShouldRespawn
ShowPathTo[edit]
displays the path to the given base for the given player
SinglePlayerAddBot[edit]
SkipCinematics[edit]
SkipPlaySound[edit]
SpaceAvailable[edit]
SpawnBot[edit]
SpawnWait[edit]
StartMatch[edit]
Overrides: GameInfo.StartMatch
TooManyBots[edit]
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
TrackMemoryFunctor[edit]
This is our TrackMemory functor where we can put anything we want to do every N seconds. *
TravelFailed[edit]
Overrides: GameInfo.TravelFailed
Called from the WorldInfo when travelling fails
UpdateGameplayMuteList[edit]
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[edit]
Overrides: GameInfo.UpdateGameSettings
Used to update any changes in game settings that need to be published to players that are searching for games
UpdateGameSettingsCounts[edit]
Overrides: GameInfo.UpdateGameSettingsCounts
Updates the online subsystem's information for player counts so that LAN matches can show the correct player counts
ViewObjective[edit]
WantFastSpawnFor[edit]
WriteOnlinePlayerScores[edit]
Overrides: GameInfo.WriteOnlinePlayerScores
Write player scores used in skill calculations