Always snap to grid
UE2:ChallengeGame (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> ChallengeGame |
Contents |
- Package:
- XGame
- Direct subclasses:
- BloodRites, ManoEMano
| This is an auto-generated page and may need human attention. Please remove this 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
[edit] Properties
[edit] ChallengeDescription
Type: string
Modifiers: localized
description of the challenge
[edit] ChallengeMenu
Type: string
the challenge configuration menu
[edit] ChallengeName
Type: string
Modifiers: localized
name of this challenge
[edit] msgFor
Type: string
Modifiers: localized
Default value: "for"
[edit] msgGotChallenged
Type: string
Modifiers: localized
Default value: "We got challenged"
[edit] msgWeChallenged
Type: string
Modifiers: localized
Default value: "We challenged"
[edit] Structs
[edit] TriString
[edit] Static functions
[edit] AddHistoryRecord
will be called after the default info has been added to the history record. override this to change or append additional into.
[edit] canChallenge
Return true when this challenge game can be used to challenge the player
[edit] HandleRequirements
Handle match requirements, return false if a requirement has not been met
[edit] 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.
[edit] 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.
[edit] payTeamMates
return true when the team mates should be payed
[edit] PostRegisterGame
called from GameProfile.RegisterGame() after everything is processed
[edit] PreRegisterGame
called from GameProfile.RegisterGame() before anything is processed
[edit] StartChallenge
start this challenge
