Mostly Harmless

UE2:U2CTFGame (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo >> U2DeathMatch >> U2TeamGame >> U2CTFGame

Contents

Package: 
U2CTF

$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<DamageTypeDamageType)

Overrides: U2DeathMatch.Killed


[edit] Logout

function Logout (Controller Exiting)

Overrides: U2TeamGame.Logout


[edit] ScoreFlag

function ScoreFlag (Pawn Scorer, U2CTFFlag TargetFlag)


Personal tools