| Home Page | Recent Changes | Preferences

Highlander/BallReturnVolume

class BallReturnVolume extends Volume;
//Written by Robin "Highlander" Murray Nov 24th 2002
//when the ball enters this volume it will be sent home
//if player carrys ball through volume no effect will be taken.
/*To add this functionality to already existing volume, extend actor instead and link the volume to this actor */
function touch (actor other)
    {
    if (other.IsA('xBombFlag'))
        {
        xBombFlag(Other).sendhome();
        
        }
    }

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In