Cogito, ergo sum
UE2:ChallengeGame (UT2004)
Object >> ChallengeGame |
Contents
- Package:
- XGame
- Direct subclasses:
- BloodRites, ManoEMano
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. |
Single Player Challenge Game code - base class
Written by Michiel Hendriks (c) 2003, Epic Games, Inc. All Rights Reserved
Properties[edit]
ChallengeDescription[edit]
Type: string
Modifiers: localized
description of the challenge
ChallengeMenu[edit]
Type: string
the challenge configuration menu
ChallengeName[edit]
Type: string
Modifiers: localized
name of this challenge
msgFor[edit]
Type: string
Modifiers: localized
Default value: "for"
msgGotChallenged[edit]
Type: string
Modifiers: localized
Default value: "We got challenged"
msgWeChallenged[edit]
Type: string
Modifiers: localized
Default value: "We challenged"
Structs[edit]
TriString[edit]
Static functions[edit]
AddHistoryRecord[edit]
will be called after the default info has been added to the history record. override this to change or append additional into.
canChallenge[edit]
Return true when this challenge game can be used to challenge the player
HandleRequirements[edit]
Handle match requirements, return false if a requirement has not been met
HandleSpecialEvent[edit]
called when the game was a challenge game and was not one of the default special events. Fill the GUIPages array with pages you want to be opened after this special event has been processed. Yes I know this method sucks, but it was the best I could come up with without a lot of changes in the current system.
injureTeamMate[edit]
Return true when a team mate _may_ be injured, this does not mean a team mate will be injured. By default only challenged that where initiated by the player may have a team mate injured.
payTeamMates[edit]
return true when the team mates should be payed
PostRegisterGame[edit]
called from GameProfile.RegisterGame() after everything is processed
PreRegisterGame[edit]
called from GameProfile.RegisterGame() before anything is processed
StartChallenge[edit]
start this challenge