Legacy:Highlander/BallReturnVolume - Unreal Wiki

# Legacy:Highlander/BallReturnVolume

### From Unreal Wiki, The Unreal Engine Documentation Site

< Legacy:Highlander

    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();

                    }
            }

##### Views

- Legacy
- Discussion
- Current revision

##### Search