| Home Page | Recent Changes

AdrenalinePickup

UT2003 :: Actor >> Pickup >> TournamentPickup >> AdrenalinePickup (Package: XPickups)

This is the adreneline pickup class. Useful when fiddling with adreneline mutators.

Properties

This property is hidden.

float AdrenalineAmount
Amount of adrenaline to award the Controller who picks this up.

Function

float DetourWeight( Pawn Other, float PathWeight )
Value of this path to take a quick detour (usually 0, used when on route to distant objective, but want to grab inventory, for example).

Events

float BotDesirability( Pawn Bot )
This returns MaxDesirability unless Bot.Controller.bHuntPlayer is true or Bot.Controller.NeedsAdrenaline() returns false.

States

Pickup (auto)
When the function Touch is called, the Other's Pawn.Controller.AwardAdrenaline( AdrenalineAmount ) function is called (if ValidTouch(Other)), the pickup is announced and set to respawn.

Source Code

The /script page lists all the code for the class, heavily commented for learning.

Related Topics

Discussion

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In