| Home Page | Recent Changes

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

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