state lotag_code_items espawnvar L_RESPAWN ends
Mark, on 17 June 2019 - 02:47 PM, said:
Trooper Dan, on 17 June 2019 - 03:19 PM, said:
state lotag_code_items espawnvar L_RESPAWN ends
This post has been edited by Firefly_Trooper: 20 June 2019 - 04:43 AM
This post has been edited by Mark: 20 June 2019 - 08:01 AM
This post has been edited by Mark: 20 June 2019 - 10:09 AM
This post has been edited by Mark: 20 June 2019 - 11:50 AM
useractor notenemy PEARLHEALTH
fall
ifp pshrunk nullop
else
ifp palive
ifpdistl RETRIEVEDISTANCE
ifcount 6
ifphealthl MAXPLAYERATOMICHEALTH
ifcanseetarget
{
addphealth 100
quote 129
sound GETPEARLHEALTH
palfrom 16 64 64 64
killit
}
enda
This post has been edited by Firefly_Trooper: 24 June 2019 - 09:53 PM
Firefly_Trooper, on 24 June 2019 - 09:52 PM, said:
This post has been edited by Trooper Dan: 24 June 2019 - 10:02 PM
useractor notenemy PEARLHEALTH
fall
ifp pshrunk nullop
else
ifp palive
ifpdistl RETRIEVEDISTANCE
ifcount 6
ifphealthl MAXPLAYERATOMICHEALTH
ifcanseetarget
{
cactor ATOMICHEALTH
addphealth 100
quote 129
sound GETPEARLHEALTH
palfrom 16 64 64 64
killit
}
endaappendevent EVENT_SOUND
ife RETURN PRED_RECOG
{
ifspritepal 21
ife sprite[].picnum LIZTROOPSTAYPUT
set RETURN BLANK
}
endeventactor LIZTROOPSTAYPUT TROOPSTRENGTH ATROOPSTAYSTAND ai AITROOPSEEKPLAYER cactor LIZTROOP cstat 257 enda
appendevent EVENT_SOUND
ife RETURN PRED_RECOG
{
ifspritepal 21
ife sprite[].picnum LIZTROOPSTAYPUT
set RETURN BLANK
}
endeventappendevent EVENT_SOUND
ife RETURN PRED_RECOG
{
ifspritepal 21
ife sprite[].picnum LIZTROOPSTAYPUT
set RETURN -1
}
endeventappendevent EVENT_SOUND
ife RETURN PRED_RECOG
{ ifspritepal 21
ife sprite[].picnum LIZTROOPSTAYPUT
set RETURN BLANK
}
ife RETURN PRED_RECOG
{ ifspritepal 22
ife sprite[].picnum LIZTROOP
set RETURN BLANK
}
endeventappendevent EVENT_SOUND
ife RETURN PRED_RECOG
{ ifspritepal 21
ife sprite[].picnum LIZTROOPSTAYPUT
set RETURN BLANK
}
ife RETURN PRED_RECOG
{ ifspritepal 22 break
ife sprite[].picnum LIZTROOP
set RETURN BLANK
}
endevent