Gah - a solution with more questions. – EntropicLqd
Difference between revisions of "UE3:UTTeamGame instance functions (UT3)"
(Auto-generated page) |
m (added missing members) |
||
Line 30: | Line 30: | ||
====AnnounceScore==== | ====AnnounceScore==== | ||
{{code|function '''AnnounceScore''' ([[int]] '''ScoringTeam''')}} | {{code|function '''AnnounceScore''' ([[int]] '''ScoringTeam''')}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====BalanceTeams==== | ||
+ | {{code|function '''BalanceTeams''' (optional [[bool]] '''bForceBalance''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 78: | Line 83: | ||
'''Overrides:''' {{tl|CheckScore|UTGame|instance functions}} | '''Overrides:''' {{tl|CheckScore|UTGame|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====CheckTeamBasedAchievements==== | ||
+ | {{code|function '''CheckTeamBasedAchievements''' ()}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 118: | Line 128: | ||
'''Overrides:''' {{tl|GetBotTeam|UTGame|instance functions}} | '''Overrides:''' {{tl|GetBotTeam|UTGame|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====GetFriendTeam==== | ||
+ | {{code|function [[byte]] '''GetFriendTeam''' ({{tl|UniqueNetId|OnlineSubsystem}} '''FriendNetId''')}} | ||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 185: | Line 200: | ||
parses the given speech for the bots that should receive it | parses the given speech for the bots that should receive it | ||
+ | |||
+ | ====PickFriendTeam==== | ||
+ | {{code|function [[byte]] '''PickFriendTeam''' ([[byte]] '''Num''', {{cl|Controller}} '''C''', {{tl|UniqueNetId|OnlineSubsystem}} '''FriendNetId''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|PickFriendTeam|GameInfo|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
====PickTeam==== | ====PickTeam==== | ||
Line 290: | Line 312: | ||
'''Parameters:''' | '''Parameters:''' | ||
* ''BotToRemove'' - The Bot to remove | * ''BotToRemove'' - The Bot to remove | ||
+ | |||
+ | ====WriteOnlineStats==== | ||
+ | {{code|function '''WriteOnlineStats''' ()}} | ||
+ | |||
+ | '''Overrides:''' {{tl|WriteOnlineStats|UTDeathmatch}} | ||
+ | |||
+ | Writes out the stats for the game type |
Latest revision as of 05:54, 16 August 2009
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[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]
BalanceTeams[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
CheckTeamBasedAchievements[edit]
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
GetFriendTeam[edit]
GetHandicapNeed[edit]
Overrides: UTDeathmatch.GetHandicapNeed
return a value based on how much this pawn needs help
InitializeBot[edit]
Overrides: UTGame.InitializeBot
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
PickFriendTeam[edit]
Overrides: GameInfo.PickFriendTeam
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
WriteOnlineStats[edit]
Overrides: UTDeathmatch.WriteOnlineStats
Writes out the stats for the game type