Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 7 → Rev 8

/nw_plus/NWActor.con
66,7 → 66,10
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
430,6 → 433,14
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
438,10 → 449,7
ifp pdead break
 
ifspritepal 0
{
shoot RPG
sound RPG_SHOOT
}
state botshootrpg
else ifspritepal 3
{
shoot CHAINGUN
472,8 → 480,7
ifactioncount 5
{
resetactioncount
shoot RPG
sound RPG_SHOOT
state botshootrpg
}
ifpdistl 4096