Gah - a solution with more questions. – EntropicLqd

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[edit]

ActivateSound[edit]

Type: SoundCue

played when we spawn a mine

AvailableMines[edit]

Type: int

number of spider mines available

Default value: 15

CurrentOffset[edit]

Type: int


DeployedMines[edit]

Type: int

currently deployed spidermine count

DetectionRange[edit]

Type: float

range for detecting enemies

Default value: 1500.0

MineClass[edit]

Type: class<UTProj_SpiderMineBase>

class of spider mine to spawn

SpawnOffset[edit]

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[edit]

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

Subobjects[edit]

CollisionCylinder[edit]

Class: Engine.CylinderComponent

Property Value
CollisionHeight 0.0
CollisionRadius 0.0

DeployedLightEnvironment[edit]

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: UTDeployedActor.DeployedLightEnvironment

No new values.

Functions[edit]

Events[edit]

Landed[edit]

event Landed (Object.Vector HitNormal, Actor HitActor)

Overrides: Actor.Landed


Other instance functions[edit]

CheckForEnemies[edit]

function CheckForEnemies ()

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

PerformDeploy[edit]

simulated function PerformDeploy ()

Overrides: UTDeployedActor.PerformDeploy


SpawnMine[edit]

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

spawn a mine to attack the given target

SpawnOffsetMine[edit]

function UTProj_SpiderMineBase SpawnOffsetMine (Object.Vector Z)