Hi,
I`m Troy McCLure.
You may remember me from such posts as> flashlight is shooting, and the light is often too bright and others.
Here I want to discuss about c4 particle script I made last night.
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\boom.tga,hudname=hud,hudhide=1,hudmake=display
:plrusingaction=1:timerstart,state=1
:state=1,timergreater=5000:hudshow=hud,hudfadeout=hud,rundecal=1,state=2
It does exactly what I want, plays hud that says boom when it explodes (Oh look I forgot to add plrsubhealth=50, if he is within 50 units from particle. Never mind) But something went wrong and I have 2 questions>
1. Is there a command to make this script run only once.Now player has infinite number of c4`s. I want that when the particle explodes, it will appear no more again???
And 2. How to make entity c4 disappear when particle goes boom???
I now I`m boring but, In the manual says we can always ask questions to good people like you.
That is not dead which can eternal lie. And with strange aeons even death may die.
H.P.L