I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:BloodRites (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> ChallengeGame >> BloodRites |
Contents |
- Package:
- XGame
| 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 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
[edit] Properties
[edit] ChalFeeMultiply
Type: float
entry fee multiplicator of the bot's price
Default value: 3.0
[edit] TradeMenu
Type: string
The trade menu
Default value: "GUI2K4.UT2K4SP_CGBRTrade"
[edit] UntradeMenu
Type: string
menu to display when we lost out team mate
Default value: "GUI2K4.UT2K4SP_CGBRUntrade"
[edit] Default values
| Property | Value |
|---|---|
| ChallengeDescription | "Challenge an enemy team for one for their team mates." |
| ChallengeMenu | "GUI2K4.UT2K4SP_CGBloodRites" |
| ChallengeName | "Bloodrites" |
[edit] Static functions
[edit] 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.
[edit] canChallenge
Overrides: ChallengeGame.canChallenge
Return true when this challenge game can be used to challenge the player
[edit] 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.
[edit] payTeamMates
Overrides: ChallengeGame.payTeamMates
return true when the team mates should be payed
[edit] PostRegisterGame
Overrides: ChallengeGame.PostRegisterGame
when we where challenged the SpecialEvent logic goes the other way around
[edit] StartChallenge
Overrides: ChallengeGame.StartChallenge
start this challenge
