Blockland Forums > Help
Event for when a player hits a brick?
<< < (7/7)
Zenthrox:
First, name the bot spawn as something. For example, "bot1"

Now, the events on the barrel:

Onprojectilehit, self, spawnexplosion, [whicheverexplosionyouwant]

Onprojectilehit, "bot1", botAddVelocity, (make the bot get blown away from the barrel)

Onprojectilehit, "bot1", botKill

Onprojectilehit, "bot1", setvehicle, [NONE]

Try this, hope it works.
ryan4022:

--- Quote from: phflack on February 15, 2010, 06:12:23 PM ---use onbotattacked

--- End quote ---

Yea but thats only for when you kill it with a gn or weapon.
phflack:

--- Quote from: ryan4022 on February 16, 2010, 09:14:08 PM ---Yea but thats only for when you kill it with a gn or weapon.

--- End quote ---
not kill, when attacked, with explosion or projectile... i tested it
Navigation
Message Index
Previous page

Go to full version