I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:UTSpiderMineTrap (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> UTDeployedActor >> UTSpiderMineTrap
Package: 
UTGame
Direct subclasses:
UTSpiderMineTrapRed, UTSpiderMineTrapBlue

when an enemy player gets within range, spawns spider mines to attack that player

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties

ActivateSound

Type: SoundCue

played when we spawn a mine

AvailableMines

Type: int

number of spider mines available

Default value: 15

CurrentOffset

Type: int


DeployedMines

Type: int

currently deployed spidermine count

DetectionRange

Type: float

range for detecting enemies

Default value: 1500.0

MineClass

Type: class<UTProj_SpiderMineBase>

class of spider mine to spawn

SpawnOffset

Type: Object.Vector

Array size: 5

SpawnOffset used when spidermines fail to spawn

Default value, index 1:

Member Value
X 0.0
Y -12.0
Z 0.0

Default value, index 2:

Member Value
X 0.0
Y 12.0
Z 0.0

Default value, index 3:

Member Value
X 12.0
Y 0.0
Z 0.0

Default value, index 4:

Member Value
X -12.0
Y 0.0
Z 0.0

Default values

Property Value
bOrientOnSlope True
CollisionComponent CylinderComponent'CollisionCylinder'
Components[1] CylinderComponent'CollisionCylinder'
LifeSpan 150.0

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Property Value
CollisionHeight 0.0
CollisionRadius 0.0

DeployedLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: UTDeployedActor.DeployedLightEnvironment

No new values.

Functions

Events

Landed

event Landed (Object.Vector HitNormal, Actor HitActor)

Overrides: Actor.Landed


Other instance functions

CheckForEnemies

function CheckForEnemies ()

called on a timer to check for enemies to target with mines

PerformDeploy

simulated function PerformDeploy ()

Overrides: UTDeployedActor.PerformDeploy


SpawnMine

function UTProj_SpiderMineBase SpawnMine (Pawn Target, Object.Vector TargetDir)

spawn a mine to attack the given target

SpawnOffsetMine

function UTProj_SpiderMineBase SpawnOffsetMine (Object.Vector Z)