string Name	= "Maskedman B";
int Model =	10;
int Weapon = 30;
int Weapon2 = 31;
int Team = 2;
int View = 80000;
int Think = 8000;
int	Attack1	= 30;
int Attack2 = 30;
int Attack3 = 30;
int	Guard =	10;
int	Dodge =	10;
int Jump = 10;
int Look = 80;
int Burst = 10;
int Aim = 80;
int GetItem = 50;
int Spawn = 64;
int HP = 4000;	

int g_selfAddr;
int g_self;
OnInit(int this)
{
	g_selfAddr = this;
}

OnStart()
{
	g_self = GetSelf(g_selfAddr);
	//ChangeBehavior(g_self, "patrol", 64, 63, 62, 132, 130, 61, 59, 82, 58, 54, 57, 68, 64);
	ChangeBehavior(g_self, "follow", "player");
}

Attack(int enable)
{
	if (enable)
	{
		Attack1 = 30;
		Attack2 = 30;
		Attack3 = 30;
		UpdateAIAttrib(g_self);
	} else
	{
		Attack1 = 0;
		Attack2 = 0;
		Attack3 = 0;
		UpdateAIAttrib(g_self);
	}
}