There is no spoon

UE2:DeployedUnit (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Pawn >> LicenseePawn >> U2Pawn >> StationaryPawn >> DeployedUnit
Package: 
U2XMP
Direct subclasses:
EnergyRelay, FieldGenerator, ProximitySensor
This class in other games:
U2

$Workfile: DeployedUnit.uc $ Created By: Mark Poesch Created On: 7/2/2001 $Author: Mfox $ $Date: 1/29/03 4:25p $ $Revision: 68 $

Constants

NotifyDeployedTimerName

Value: 'NotifyDeployedTimer'


DecayingState

Value: 'Decaying'


FUDGEVERT

Value: 50.0


FUDGEHORZ

Value: 50.0


Properties

Property group 'DeployedUnit'

AmbientNoiseSound

Type: Sound


bEnabled

Type: bool

Modifiers: protected


CarcassMesh

Type: array<Mesh>

Mesh to spawn when unit is destroyed.

CheckIntersectingActorsInterval

Type: float

How frequently the unit checks for any intersecting actors while disabled.

Default value: 0.5

CheckIntersectingRadius

Type: float

The radius the unit checks for intersecting actors while disabled.

Default value: 100.0

DeploySound

Type: Sound


Description

Type: string

Modifiers: localized


DestroyedAlertSound

Type: Sound


DisabledSkin

Type: Shader

Skin/Shader to use when unit is Disabled.

DisabledSound

Type: Sound


DisableTime

Type: float

Number of seconds the unit remains disabled.

Default value: 3.0

ExplodeSound

Type: Sound


ExplosionEffect

Type: ParticleSalamander


ParticleHitEffect

Type: ParticleGenerator

The effect to spawn when an impact happens

Default value: ParticleSalamander'Impact_Metal_AR.ParticleSalamander0'

PickupClass

Type: class<Pickup>


ReEnabledSound

Type: Sound


ShutdownSound

Type: Sound


Internal variables

bActive

Type: bool

Modifiers: protected

Unit becomes active when it has eventLanded() and is on.

Default value: True

bDeployed

Type: bool

Modifiers: protected

Unit is deployed through NotifyDeployed()

bInitialized

Type: bool


EncroachedPawns

Type: array<Pawn>


LandedNotifyDeployedDelay

Type: float

Modifiers: private


Default value: 0.5

StartTime

Type: float

When the unit is first blocked from becoming re-enabled.

Default values

Property Value
AnimationControllerClass None
bActorShadows False
bCanMantle False
bMustFace False
bSpecialCollider True
DamageFilterClass Class'U2XMP.DamageFilterDeployed'
Health 1000
TeamNumber 255
UseReticleOnEvents[2] "UseReticleTopBars"
UseReticleOnEvents[3] "UseReticleHealthBar"

Functions

Static functions

DisableForBump

static function bool DisableForBump (Pawn P, Actor Other)


Events

Bump

event Bump (Actor Other)

Overrides: Actor.Bump


Destroyed

event Destroyed ()

Overrides: StationaryPawn.Destroyed


EncroachingOn

event bool EncroachingOn (Actor Other)

Overrides: Pawn.EncroachingOn


LandedEx

event LandedEx (Actor.CheckResult Hit)

Overrides: U2Pawn.LandedEx


Other instance functions

CheckEncroacher

function CheckEncroacher (Pawn P)


CheckEncroachers

function CheckEncroachers ()


CheckForEncroachingPawns

function CheckForEncroachingPawns ()


CheckIntersecting

function Actor CheckIntersecting ()


DisableUnit

function DisableUnit ()


Explode

function Explode ()


GetDescription

function string GetDescription ()

Overrides: U2Pawn.GetDescription


Initialize

function Initialize (bool AltActivate)


IsActive

function bool IsActive ()


IsDeployed

function bool IsDeployed ()


IsEnabled

function bool IsEnabled ()


IsUsable

function bool IsUsable (Actor Other)

Overrides: LicenseePawn.IsUsable


KillInventory

function KillInventory ()


ModifyPaths

function ModifyPaths (bool bEnabled)


NotifyDeployed

function NotifyDeployed ()


NotifyDeployedTimer

function NotifyDeployedTimer ()


OnUnuse

function OnUnuse (Actor Other)

Overrides: LicenseePawn.OnUnuse


OnUse

function OnUse (Actor Other)

Overrides: LicenseePawn.OnUse


ReEnableUnit

function ReEnableUnit ()


SetActive

function SetActive (bool bVal)


SetDeployed

function SetDeployed (bool bVal)


SetEnabled

function SetEnabled (bool bVal)


SetSkin

function SetSkin (bool bDisabledSkin)


ShutDownDeployedUnit

function ShutDownDeployedUnit (bool bDestroyed, optional Pawn P)


SpecialBumpHandling

function SpecialBumpHandling (Actor Other)


TakeDamage

function TakeDamage (int Damage, Pawn instigatedBy, Object.Vector HitLocation, Object.Vector momentum, class<DamageTypeDamageType)

Overrides: U2Pawn.TakeDamage


Trigger

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Pawn.Trigger


States

@DecayingState

Ignores: BeginFalling, BreathTimer, Bump, HeadVolumeChange, HitWall, PhysicsVolumeChange

@DecayingState.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


@DecayingState.Timer

event Timer ()

Overrides: Actor.Timer (global)