//Gate Script

// This script is hereby released under GPL v. 2 or later by Wolfe Games, 2008
// All contents were created by Wolfe Games.

// This Include is absolutely VITAL.  
// You must call it FIRST.  PERIOD.
// Don't say I didn't warn you ;-)
#include "STANDARD_COMMANDS_WORLDBUILDER.h"

piece fence, posts;

#define DEADBUILDING_DUST_FX 1024+1

Create()
{
	var Random;
	Random = rand(<-15>,<15>);
	turn fence to y-axis Random now;
	sleep 30;
}

Killed(a,b)
{
	explode posts type SHATTER;
	return (0);
}