Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTScriptedBotVolume


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
00031
/**
 * volume that kills Kismet created bots that leave it
 * 
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
 */
class UTScriptedBotVolume extends PhysicsVolume;

event PawnLeavingVolume(Pawn Other)
{
	local UTBot Bot;

	Bot = UTBot(Other.Controller);
	if (Bot != None && Bot.bSpawnedByKismet)
	{
		Other.Died(None, class'UTDmgType_Instagib', Other.Location);
	}
}

defaultproperties
{
   Begin Object Class=BrushComponent Name=BrushComponent0 ObjName=BrushComponent0 Archetype=BrushComponent'Engine.Default__PhysicsVolume:BrushComponent0'
      ObjectArchetype=BrushComponent'Engine.Default__PhysicsVolume:BrushComponent0'
   End Object
   BrushComponent=BrushComponent0
   Components(0)=BrushComponent0
   CollisionComponent=BrushComponent0
   CollisionType=COLLIDE_CustomDefault
   Name="Default__UTScriptedBotVolume"
   ObjectArchetype=PhysicsVolume'Engine.Default__PhysicsVolume'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:18:48.000 - Creation time: sk 18-3-2018 10:01:24.508 - Created with UnCodeX