My program doesn't have bugs. It just develops random features.
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 CampaignSkillAdjust
- 1.5 CanSpectate
- 1.6 ChangeTeam
- 1.7 CheckEndGame
- 1.8 CheckMaxLives
- 1.9 CheckScore
- 1.10 CreateTeam
- 1.11 DominatingVictory
- 1.12 FindNewObjectives
- 1.13 FindVictimsTarget
- 1.14 ForceRespawn
- 1.15 GetBotTeam
- 1.16 GetHandicapNeed
- 1.17 InitializeBot
- 1.18 IsAWinner
- 1.19 IsWinningTeam
- 1.20 LevelRecommendedPlayers
- 1.21 Logout
- 1.22 NearGoal
- 1.23 NotifyKilled
- 1.24 OverridePRI
- 1.25 ParseSpeechRecipients
- 1.26 PickTeam
- 1.27 PlayRegularEndOfMatchMessage
- 1.28 ProcessSpeechOrders
- 1.29 ProcessSpeechRecognition
- 1.30 RatePlayerStart
- 1.31 ReduceDamage
- 1.32 RestartGame
- 1.33 ScoreKill
- 1.34 SendFlagKillMessage
- 1.35 SetEndGameFocus
- 1.36 SetTeam
- 1.37 ShowPathTo
- 1.38 TooManyBots
- 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
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
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
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
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