UE2:BloodRites (UT2004)
![]() |
Object >> ChallengeGame >> BloodRites |
- Package:
- XGame
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 A blood rite challenge is a challenge against an whole team. The prize is a exchange of team mates.
Written by Michiel Hendriks (c) 2003, Epic Games, Inc. All Rights Reserved
Properties
ChalFeeMultiply
Type: float
entry fee multiplicator of the bot's price
Default value: 3.0
TradeMenu
Type: string
The trade menu
Default value: "GUI2K4.UT2K4SP_CGBRTrade"
UntradeMenu
Type: string
menu to display when we lost out team mate
Default value: "GUI2K4.UT2K4SP_CGBRUntrade"
Default values
Property | Value |
---|---|
ChallengeDescription | "Challenge an enemy team for one for their team mates." |
ChallengeMenu | "GUI2K4.UT2K4SP_CGBloodRites" |
ChallengeName | "Bloodrites" |
Static functions
AddHistoryRecord
Overrides: ChallengeGame.AddHistoryRecord
will be called after the default info has been added to the history record. override this to change or append additional into.
canChallenge
Overrides: ChallengeGame.canChallenge
Return true when this challenge game can be used to challenge the player
HandleSpecialEvent
Overrides: ChallengeGame.HandleSpecialEvent
We have two special events: TRADE and UNTRADE Both have the arguments <teamname> <playername> In case of TRADE you get a player to add to your team, unless your team is already full, then you have to remove one firts. UNTRADE will just give you the message that a team mate has been removed from your team.
payTeamMates
Overrides: ChallengeGame.payTeamMates
return true when the team mates should be payed
PostRegisterGame
Overrides: ChallengeGame.PostRegisterGame
when we where challenged the SpecialEvent logic goes the other way around
StartChallenge
Overrides: ChallengeGame.StartChallenge
start this challenge