UE3:UTSpiderMineTrap (UT3): Difference between revisions
Auto-generated page |
m added missing members |
||
Line 9: | Line 9: | ||
when an enemy player gets within range, spawns spider mines to attack that player | when an enemy player gets within range, spawns spider mines to attack that player | ||
Copyright 1998- | Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. | ||
==Properties== | ==Properties== | ||
Line 23: | Line 23: | ||
'''Default value:''' 15 | '''Default value:''' 15 | ||
====CurrentOffset==== | |||
'''Type:''' [[int]] | |||
<!-- enter variable description --> | |||
====DeployedMines==== | ====DeployedMines==== | ||
Line 40: | Line 45: | ||
class of spider mine to spawn | class of spider mine to spawn | ||
====SpawnOffset==== | |||
'''Type:''' {{tl|Vector|Object|structs}} | |||
'''[[Static arrays|Array size]]:''' 5 | |||
SpawnOffset used when spidermines fail to spawn | |||
'''Default value, index 1:''' | |||
{| class="list defaults" | |||
! {{tl|Vector||Object structs|Member}} | |||
! Value | |||
|- | |||
| X | |||
| 0.0 | |||
|- | |||
| Y | |||
| -12.0 | |||
|- | |||
| Z | |||
| 0.0 | |||
|} | |||
'''Default value, index 2:''' | |||
{| class="list defaults" | |||
! {{tl|Vector||Object structs|Member}} | |||
! Value | |||
|- | |||
| X | |||
| 0.0 | |||
|- | |||
| Y | |||
| 12.0 | |||
|- | |||
| Z | |||
| 0.0 | |||
|} | |||
'''Default value, index 3:''' | |||
{| class="list defaults" | |||
! {{tl|Vector||Object structs|Member}} | |||
! Value | |||
|- | |||
| X | |||
| 12.0 | |||
|- | |||
| Y | |||
| 0.0 | |||
|- | |||
| Z | |||
| 0.0 | |||
|} | |||
'''Default value, index 4:''' | |||
{| class="list defaults" | |||
! {{tl|Vector||Object structs|Member}} | |||
! Value | |||
|- | |||
| X | |||
| -12.0 | |||
|- | |||
| Y | |||
| 0.0 | |||
|- | |||
| Z | |||
| 0.0 | |||
|} | |||
===Default values=== | ===Default values=== | ||
Line 107: | Line 179: | ||
spawn a mine to attack the given target | spawn a mine to attack the given target | ||
====SpawnOffsetMine==== | |||
{{code|function {{cl|UTProj_SpiderMineBase}} '''SpawnOffsetMine''' ({{tl|Vector|Object|structs}} '''Z''')}} | |||
<!-- enter function description --> |
Latest revision as of 06:47, 16 August 2009
![]() |
Object >> Actor >> UTDeployedActor >> UTSpiderMineTrap |
- Package:
- UTGame
- Direct subclasses:
- UTSpiderMineTrapRed, UTSpiderMineTrapBlue
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
Overrides: Actor.Landed
Other instance functions
CheckForEnemies
called on a timer to check for enemies to target with mines
PerformDeploy
Overrides: UTDeployedActor.PerformDeploy
SpawnMine
spawn a mine to attack the given target
SpawnOffsetMine