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

Is there such thing as the wrench event

OnPlayerAttack
« Last Edit: January 18, 2010, 03:10:26 PM by Ephialtes »

no, has yet to be made, and yet i doubt it could be made, due to not having the player target a brick in that?

I want something like where the player hits the barrel or something with a gun and it explodes

Use the onProjectileHit input event.

I want something like where the player hits the barrel or something with a gun and it explodes

This is possible. Put the following event on the barrel(s):

[x] [0] [0] [onProjectileHit]->[self]->[spawnExplosion]->[Vehicle Final Explosion] 1.000

The above event will make whichever brick you applied it to in the barrel explode upon getting shot. The "[x]" in it means that it's enabled, the first "[0]" is the number of the event, the second "[0]" is the event's delay, in milliseconds, and the "1.000" at the end is the scale of the explosion, "1.000" being standard size. Move the slider left or right to increase/decrease the size of the explosion.

This is possible. Put the following event on the barrel(s):

[x] [0] [0] [onProjectileHit]->[self]->[spawnExplosion]->[Vehicle Final Explosion] 1.000

The above event will make whichever brick you applied it to in the barrel explode upon getting shot. The "[x]" in it means that it's enabled, the first "[0]" is the number of the event, the second "[0]" is the event's delay, in milliseconds, and the "1.000" at the end is the scale of the explosion, "1.000" being standard size. Move the slider left or right to increase/decrease the size of the explosion.


Thx but one more favor is there a way when a bot die to make it not to show up again

What I mean is when you kill a bot it stays dead.

OnBotDeath, Self, SetVehicle, None



Because it was exactly what i was going to say and couldn't be bothered to type

OnBotDeath, Self, SetVehicle, None

Actualy Its OnBotKilled,Self,SetVehicle,None

One more Favor please is there a way to make a bot when the barrel explodes it kills the bot and the bot doesnt respawn

One more Favor please is there a way to make a bot when the barrel explodes it kills the bot and the bot doesnt respawn

OnBotKilled, Self, SetVehicle, None

One more Favor please is there a way to make a bot when the barrel explodes it kills the bot and the bot doesnt respawn
Give the barrel an explosion powerful enough to kill the bot.