Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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
Package: 
U2CTF

$Workfile: U2CTFGame.uc $ Created By: Steve Polge Created On: 7/18/2000 $Author: Sbrown $ $Date: 8/17/02 17:30 $ $Revision: 5 $

Properties

CaptureSound

Type: Sound

Array size: 2


Default value, index 0: Sound'U2CTFA.CTFCaptured1'

Default value, index 1: Sound'U2CTFA.CTFCaptured2'

CurrentOrders

Type: name

Array size: 2

AI: used in SetBotOrders() -- called when bots join or leave the game

LastGotFlag

Type: float

AI: last time "they've got our flag" was said

LastSeeFlagCarrier

Type: float

AI: last time "flag carrier is here" was said

ReturnSound

Type: Sound


Default value: Sound'U2CTFA.CTFReturned'

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 ""

Instance functions

ClientsPlaySound

function ClientsPlaySound (Sound ClientSound)


GetEndGameTarget

function Actor GetEndGameTarget ()

Overrides: U2DeathMatch.GetEndGameTarget


Killed

function Killed (Controller Killer, Controller Killed, Pawn KilledPawn, class<DamageTypeDamageType)

Overrides: U2DeathMatch.Killed


Logout

function Logout (Controller Exiting)

Overrides: U2TeamGame.Logout


ScoreFlag

function ScoreFlag (Pawn Scorer, U2CTFFlag TargetFlag)