Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
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
ChallengeDescription
Type: string
Modifiers: localized
description of the challenge
ChallengeMenu
Type: string
the challenge configuration menu
ChallengeName
Type: string
Modifiers: localized
name of this challenge
msgFor
Type: string
Modifiers: localized
Default value: "for"
msgGotChallenged
Type: string
Modifiers: localized
Default value: "We got challenged"
msgWeChallenged
Type: string
Modifiers: localized
Default value: "We challenged"
Structs
TriString
Static functions
AddHistoryRecord
will be called after the default info has been added to the history record. override this to change or append additional into.
canChallenge
Return true when this challenge game can be used to challenge the player
HandleRequirements
Handle match requirements, return false if a requirement has not been met
HandleSpecialEvent
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
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
return true when the team mates should be payed
PostRegisterGame
called from GameProfile.RegisterGame() after everything is processed
PreRegisterGame
called from GameProfile.RegisterGame() before anything is processed
StartChallenge
start this challenge