Mostly Harmless
UE2:U2CTFGame (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo >> U2DeathMatch >> U2TeamGame >> U2CTFGame |
Contents |
- Package:
- U2CTF
| 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. |
$Workfile: U2CTFGame.uc $ Created By: Steve Polge Created On: 7/18/2000 $Author: Sbrown $ $Date: 8/17/02 17:30 $ $Revision: 5 $
[edit] Properties
[edit] CaptureSound
Type: Sound
Array size: 2
Default value, index 0: Sound'U2CTFA.CTFCaptured1'
Default value, index 1: Sound'U2CTFA.CTFCaptured2'
[edit] CurrentOrders
Type: name
Array size: 2
AI: used in SetBotOrders() -- called when bots join or leave the game
[edit] LastGotFlag
Type: float
AI: last time "they've got our flag" was said
[edit] LastSeeFlagCarrier
Type: float
AI: last time "flag carrier is here" was said
[edit] ReturnSound
Type: Sound
Default value: Sound'U2CTFA.CTFReturned'
[edit] Default values
| Property | Value |
|---|---|
| BeaconName | "CTF" |
| bScoreTeamKills | False |
| GameAIControllerClasses[0] | "U2CTF.GameAIControllerCTF" |
| GameGoal | "captures wins the match!" |
| GameName | "Capture the Flag" |
| GameReplicationInfoClass | Class'U2CTF.U2CTFReplicationInfo' |
| GoalScore | 3 |
| MapPrefix | "CTF" |
| MaxAllowedTeams | 2 |
| StartupMessage | "" |
[edit] Instance functions
[edit] ClientsPlaySound
function ClientsPlaySound (Sound ClientSound)
[edit] GetEndGameTarget
function Actor GetEndGameTarget ()
Overrides: U2DeathMatch.GetEndGameTarget
[edit] Killed
function Killed (Controller Killer, Controller Killed, Pawn KilledPawn, class<DamageType> DamageType)
Overrides: U2DeathMatch.Killed
[edit] Logout
function Logout (Controller Exiting)
Overrides: U2TeamGame.Logout
