Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
how to make a player tumble when he is hit by a projectile
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to make a player tumble when he is hit by a projectile (Read 380 times)
GhostStar
June 12, 2013, 01:37:45 PM
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.
Ad Bot
Advertisement
Honorabl3
June 12, 2013, 03:28:00 PM
First package and parent the TesleProjectile::onCollision, and then do something with
%player.setWhiteout(%time/7000 * 1);
and
tumble(%player, %time);
...
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
how to make a player tumble when he is hit by a projectile