Author Topic: Event for when a player hits a brick?  (Read 1504 times)

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.

use onbotattacked

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

Yea but thats only for when you kill it with a gn or weapon.
not kill, when attacked, with explosion or projectile... i tested it