// Alpha Project Multiplayer File
// V1.0

eventloadactor 1406

getactor[THISACTOR].lotag lotagsaved

setactor[THISACTOR].lotag 0

getactor[THISACTOR].hitag hitagsaved

setactor[THISACTOR].hitag 0

enda

action Bstand -1 1 5 1 1
action bwalk 19 4 5 1 16
action brun 19 4 5 1 10
action bjump 49 4 5 1 20
action bcrounch 85 3 5 1 20
action bcrounch2 85 1 5 1 20
action bdie 105 5 1 1 18
action bdead 112 1 1

move botwalkvel 300
move botrunvel 500
move botjumpvel 200
move botcrounchvel 250 

ai botstand Bstand stop
ai botwalk bwalk botwalkvel randomangle
ai botrun brun botrunvel randomangle
ai botjump bjump botjumpvel jumptoplayer
ai botcrounch bjump botcrounchvel faceplayer
ai botcrounchstopped bcrounch2 stop
ai botdie bdie stop faceplayer
ai botdead bdead stop faceplayer

useractor notenemy 1406 200

cstat 256

sizeat 32 32

fall

ifvare lotagsaved 0
{
spritepal 7
getuserdef[THISACTOR].team team
ifvarn team 0
{
setvar target 1
}
}

else 

ifvare lotagsaved 1
{
spritepal 2
getuserdef[THISACTOR].team team
ifvarn team 1
{
setvar target 1
}
}

else

ifvare lotagsaved 2
{
spritepal 8
getuserdef[THISACTOR].team team
ifvarn team 2
{
setvar target 1
}
}

else

ifvare lotagsaved 3
{
nullop
getuserdef[THISACTOR].team team
ifvarn team 3
{
setvar target 1
}
}

ifai 0
{
ai botrun
}

ifai botrun
{
ifnotmoving { randvar angvar 2048 setactor[THISACTOR].ang angvar }
}

enda


