Author Topic: how to make a player tumble when he is hit by a projectile  (Read 380 times)

i want to make a player tumble for 5 seconds when he is hit by the projectile of my tesla gun.
it has been a long time since i have scripted anything so i don't remember all that much.

First package and parent the TesleProjectile::onCollision, and then do something with %player.setWhiteout(%time/7000 * 1); and tumble(%player, %time); ...