Author Topic: OnProjectileHitPlayer  (Read 536 times)

Simply, an event for when a projectile hits a player.

Does such an event already exist?


The problem is that an event is assigned to a brick. Not a player.

The problem is that an event is assigned to a brick. Not a player.

Variables. You can have it running on the player then with a relay.

onactivate>self>firerelay
onrelay>self>firerelay
onrelay>self>Var:player:ifprojectilehit
onvariabletrue:player:spawnexplosion [tank shell] -2.0-

Boomer :D

The problem is that an event is assigned to a brick. Not a player.
A couple things in the event system make it look as if it was initially made with the eventing of players/bots in mind, though...