I don't need to test my programs. I have an error-correcting modem.

UE1:TrapSpringer (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Inventory >> TrapSpringer
Package: 
BotPack

TrapSpringer.

Properties

Property group 'TrapSpringer'

bShootIt

Type: bool


TrapTag

Type: name

tag of trap - could be zone, mover, or a trigger which counts touches

TriggerTag

Type: name

tag of trigger for trap

Internal variables

Trap

Type: Actor

Array size: 8


trapnum

Type: int


TrapTrigger

Type: Actor


Default values

Property Value
DrawType DT_Sprite
MaxDesireability 1.0

Functions

Events

BotDesireability

event float BotDesireability (Pawn Bot)

Overrides: Inventory.BotDesireability


PostBeginPlay

event PostBeginPlay ()

Overrides: Inventory.PostBeginPlay


Other instance functions

BecomeItem

function BecomeItem ()

Overrides: Inventory.BecomeItem


BecomePickup

function BecomePickup ()

Overrides: Inventory.BecomePickup


CalcDesire

function float CalcDesire (Pawn Bot, Pawn Enemy)


FoundTrapTarget

function bool FoundTrapTarget (Pawn Bot, Pawn P)


GiveTo

function GiveTo (Pawn Other)

Overrides: Inventory.GiveTo


SetRespawn

function SetRespawn ()

Overrides: Inventory.SetRespawn


SpawnCopy

function Inventory SpawnCopy (Pawn Other)

Overrides: Inventory.SpawnCopy


States

Pickup

Inherits from: Inventory.Pickup

Modifiers: auto

Pickup.BeginState

event BeginState ()

Overrides: Inventory.Pickup.BeginState


Pickup.Touch

event Touch (Actor Other)

Overrides: Inventory.Pickup.Touch


Pickup.ZoneChange

singular event ZoneChange (ZoneInfo NewZone)

Overrides: Inventory.Pickup.ZoneChange