Mostly Harmless
UE3:UTTeamGame instance functions (UDK)
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 IsAWinner
- 1.18 IsWinningTeam
- 1.19 LevelRecommendedPlayers
- 1.20 Logout
- 1.21 NearGoal
- 1.22 NotifyKilled
- 1.23 OverridePRI
- 1.24 ParseSpeechRecipients
- 1.25 PickTeam
- 1.26 PlayRegularEndOfMatchMessage
- 1.27 ProcessSpeechOrders
- 1.28 ProcessSpeechRecognition
- 1.29 RatePlayerStart
- 1.30 ReduceDamage
- 1.31 RestartGame
- 1.32 ScoreKill
- 1.33 SendFlagKillMessage
- 1.34 SetEndGameFocus
- 1.35 SetTeam
- 1.36 ShowPathTo
- 1.37 TooManyBots
- UTTeamGame instance functions in other games:
- UT3
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]
AdjustSkill[edit]
Overrides: UTGame.AdjustSkill
AllowClientToTeleport[edit]
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[edit]
CampaignSkillAdjust[edit]
Overrides: UTGame.CampaignSkillAdjust
Called to adjust skill when bot respawns
CanSpectate[edit]
Overrides: UTGame.CanSpectate
returns true if Viewer is allowed to spectate ViewTarget
ChangeTeam[edit]
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[edit]
Overrides: UTGame.CheckEndGame
CheckMaxLives[edit]
Overrides: UTGame.CheckMaxLives
CheckScore[edit]
Overrides: UTGame.CheckScore
CreateTeam[edit]
DominatingVictory[edit]
Overrides: UTGame.DominatingVictory
FindNewObjectives[edit]
Overrides: UTGame.FindNewObjectives
re-evaluate objectives for players because the specified one has been changed/completed
FindVictimsTarget[edit]
ForceRespawn[edit]
Overrides: UTGame.ForceRespawn
ForceRespawn() returns true if dead players should respawn immediately force respawn if single player and no bots on team 0
GetBotTeam[edit]
Overrides: UTGame.GetBotTeam
GetHandicapNeed[edit]
Overrides: UTDeathmatch.GetHandicapNeed
return a value based on how much this pawn needs help
IsAWinner[edit]
Overrides: UTGame.IsAWinner
IsWinningTeam[edit]
LevelRecommendedPlayers[edit]
Overrides: UTGame.LevelRecommendedPlayers
Logout[edit]
Overrides: UTGame.Logout
NearGoal[edit]
returns whether the given game object-holding player was near an objective the game object can be scored at
NotifyKilled[edit]
Overrides: GameInfo.NotifyKilled
OverridePRI[edit]
Overrides: GameInfo.OverridePRI
OverridePRI() override as needed properties of NewPRI with properties from OldPRI which were assigned during the login process
ParseSpeechRecipients[edit]
parses the given speech for the bots that should receive it
PickTeam[edit]
Overrides: GameInfo.PickTeam
PlayRegularEndOfMatchMessage[edit]
Overrides: UTGame.PlayRegularEndOfMatchMessage
ProcessSpeechOrders[edit]
parses and sends the orders in the given speech to the Recipients
ProcessSpeechRecognition[edit]
Overrides: UTGame.ProcessSpeechRecognition
parses the given player's recognized speech into bot orders, etc
RatePlayerStart[edit]
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[edit]
Overrides: UTGame.ReduceDamage
RestartGame[edit]
Overrides: UTGame.RestartGame
Balance teams before restarting game
ScoreKill[edit]
Overrides: UTGame.ScoreKill
SendFlagKillMessage[edit]
SetEndGameFocus[edit]
Overrides: UTGame.SetEndGameFocus
SetTeam[edit]
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[edit]
Overrides: UTGame.ShowPathTo
displays the path to the given base for the given player
TooManyBots[edit]
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