The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTTeamGame instance functions (UT3)
Object >> Actor >> Info >> GameInfo >> UTGame >> UTDeathmatch >> UTTeamGame (instance functions) |
Contents
- 1 Instance functions
- 1.1 AdjustSkill
- 1.2 AllowClientToTeleport
- 1.3 AnnounceScore
- 1.4 BalanceTeams
- 1.5 CampaignSkillAdjust
- 1.6 CanSpectate
- 1.7 ChangeTeam
- 1.8 CheckEndGame
- 1.9 CheckMaxLives
- 1.10 CheckScore
- 1.11 CheckTeamBasedAchievements
- 1.12 CreateTeam
- 1.13 DominatingVictory
- 1.14 FindNewObjectives
- 1.15 FindVictimsTarget
- 1.16 ForceRespawn
- 1.17 GetBotTeam
- 1.18 GetFriendTeam
- 1.19 GetHandicapNeed
- 1.20 InitializeBot
- 1.21 IsAWinner
- 1.22 IsWinningTeam
- 1.23 LevelRecommendedPlayers
- 1.24 Logout
- 1.25 NearGoal
- 1.26 NotifyKilled
- 1.27 OverridePRI
- 1.28 ParseSpeechRecipients
- 1.29 PickFriendTeam
- 1.30 PickTeam
- 1.31 PlayRegularEndOfMatchMessage
- 1.32 ProcessSpeechOrders
- 1.33 ProcessSpeechRecognition
- 1.34 RatePlayerStart
- 1.35 ReduceDamage
- 1.36 RestartGame
- 1.37 ScoreKill
- 1.38 SendFlagKillMessage
- 1.39 SetEndGameFocus
- 1.40 SetTeam
- 1.41 ShowPathTo
- 1.42 TooManyBots
- 1.43 WriteOnlineStats
- UTTeamGame instance functions in other games:
- UDK
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
AdjustSkill
Overrides: UTGame.AdjustSkill
AllowClientToTeleport
Overrides: UTGame.AllowClientToTeleport
This function allows the server to override any requested teleport attempts from a client
Returns:
- returns true if the teleport is allowed
AnnounceScore
BalanceTeams
CampaignSkillAdjust
Overrides: UTGame.CampaignSkillAdjust
Called to adjust skill when bot respawns
CanSpectate
Overrides: UTGame.CanSpectate
returns true if Viewer is allowed to spectate ViewTarget
ChangeTeam
Overrides: GameInfo.ChangeTeam
ChangeTeam() verify whether controller Other is allowed to change team, and if so change his team by calling SetTeam().
Parameters:
- Other - the controller which wants to change teams
- num - the teamindex of the desired team. If 255, pick the smallest team.
- bNewTeam - if true, broadcast team change notification
CheckEndGame
Overrides: UTGame.CheckEndGame
CheckMaxLives
Overrides: UTGame.CheckMaxLives
CheckScore
Overrides: UTGame.CheckScore
CheckTeamBasedAchievements
CreateTeam
DominatingVictory
Overrides: UTGame.DominatingVictory
FindNewObjectives
Overrides: UTGame.FindNewObjectives
re-evaluate objectives for players because the specified one has been changed/completed
FindVictimsTarget
ForceRespawn
Overrides: UTGame.ForceRespawn
ForceRespawn() returns true if dead players should respawn immediately force respawn if single player and no bots on team 0
GetBotTeam
Overrides: UTGame.GetBotTeam
GetFriendTeam
GetHandicapNeed
Overrides: UTDeathmatch.GetHandicapNeed
return a value based on how much this pawn needs help
InitializeBot
Overrides: UTGame.InitializeBot
IsAWinner
Overrides: UTGame.IsAWinner
IsWinningTeam
LevelRecommendedPlayers
Overrides: UTGame.LevelRecommendedPlayers
Logout
Overrides: UTGame.Logout
NearGoal
returns whether the given game object-holding player was near an objective the game object can be scored at
NotifyKilled
Overrides: GameInfo.NotifyKilled
OverridePRI
Overrides: GameInfo.OverridePRI
OverridePRI() override as needed properties of NewPRI with properties from OldPRI which were assigned during the login process
ParseSpeechRecipients
parses the given speech for the bots that should receive it
PickFriendTeam
Overrides: GameInfo.PickFriendTeam
PickTeam
Overrides: GameInfo.PickTeam
PlayRegularEndOfMatchMessage
Overrides: UTGame.PlayRegularEndOfMatchMessage
ProcessSpeechOrders
parses and sends the orders in the given speech to the Recipients
ProcessSpeechRecognition
Overrides: UTGame.ProcessSpeechRecognition
parses the given player's recognized speech into bot orders, etc
RatePlayerStart
Overrides: UTGame.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: UTGame.ReduceDamage
RestartGame
Overrides: UTGame.RestartGame
Balance teams before restarting game
ScoreKill
Overrides: UTGame.ScoreKill
SendFlagKillMessage
SetEndGameFocus
Overrides: UTGame.SetEndGameFocus
SetTeam
SetTeam() Change Other's team to NewTeam.
Parameters:
- Other - the controller which wants to change teams
- NewTeam - the desired team.
- bNewTeam - if true, broadcast team change notification
ShowPathTo
Overrides: UTGame.ShowPathTo
displays the path to the given base for the given player
TooManyBots
Overrides: UTGame.TooManyBots
(Description copied from UTGame.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
WriteOnlineStats
Overrides: UTDeathmatch.WriteOnlineStats
Writes out the stats for the game type