#library "ChaingunDrop"
#include "zcommon.acs"

Script "ChaingunDrop" ENTER
{
Switch(PlayerClass(0))
	{
		case 0:
		SetActorPosition(0, GetActorX(0), GetActorY(0), (GetActorZ(0) - 12.0), 0);
		DropItem(0, "ClassicChaingun", -1, 256);
		break;
		
		case 1:
		SetActorPosition(0, GetActorX(0), GetActorY(0), (GetActorZ(0) - 12.0), 0);
		DropItem(0, "AlphaChaingun", -1, 256);
		break;
		
		case 2:
		SetActorPosition(0, GetActorX(0), GetActorY(0), (GetActorZ(0) - 12.0), 0);
		DropItem(0, "MiniGun", -1, 256);
		break;
	}
}