Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 8 → Rev 7

/nw_plus/NWActor.con
66,10 → 66,7
getplayer[THISACTOR].i temp
setactor[temp].htextra SNOWBALLAMOUNT
setactor[temp].htpicnum SNOWBALL
getactor[THISACTOR].owner temp2
setactor[temp].htowner temp2
// addphealth SNOWBALLAMOUNT
 
debris SCRAP3 5
globalsound DUKE_GRUNT
state headhitstate
433,14 → 430,6
ends
 
state botshootrpg // so Santa shoots the player's RPG and not the Commander's
eshoot RPG
setactor[RETURN].extra RPG_WEAPON_STRENGTH
setactor[RETURN].xrepeat 14
setactor[RETURN].yrepeat 14
sound RPG_SHOOT
ends
 
state botquickshootstate
ifspritepal 0 nullop else break
449,7 → 438,10
ifp pdead break
 
ifspritepal 0
state botshootrpg
{
shoot RPG
sound RPG_SHOOT
}
else ifspritepal 3
{
shoot CHAINGUN
480,7 → 472,8
ifactioncount 5
{
resetactioncount
state botshootrpg
shoot RPG
sound RPG_SHOOT
}
ifpdistl 4096