Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 |
/** * Copyright 1998-2007 Epic Games, Inc. All Rights Reserved. */ class UTDmgType_CicadaLaser extends UTDamageType abstract; static function ScoreKill(UTPlayerReplicationInfo KillerPRI, UTPlayerReplicationInfo KilledPRI, Pawn KilledPawn) { super.ScoreKill(KillerPRI, KilledPRI, KilledPawn); if (KilledPRI != None && KillerPRI != KilledPRI && Vehicle(KilledPawn) != None && Vehicle(KilledPawn).bCanFly) { KillerPRI.IncrementEventStat('EVENT_TOPGUN'); if (UTPlayerController(KillerPRI.Owner) != None) UTPlayerController(KillerPRI.Owner).ReceiveLocalizedMessage(class'UTVehicleKillMessage', 6); } } defaultproperties { DamageWeaponClass=Class'UTGameContent.UTVWeap_CicadaTurret' KillStatsName="KILLS_CICADATURRET" DeathStatsName="DEATHS_CICADATURRET" SuicideStatsName="SUICIDES_CICADATURRET" DeathString="`k's blaster stung `o." FemaleSuicide="`o used her blaster on herself." MaleSuicide="`o used his blaster on himself." Name="Default__UTDmgType_CicadaLaser" ObjectArchetype=UTDamageType'UTGame.Default__UTDamageType' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |