My program doesn't have bugs. It just develops random features.

Legacy:Highlander/BallReturnVolume

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
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();
 
		}
	}