| Blockland Forums > Modification Help |
| Smallest snippet of code that will "Tumble" |
| (1/3) > >> |
| Giovan:
I'm looking for the smallest amount of code that will Tumble a player, like from the skis. Please note that this will not be used for admin abuse or unfailing events. |
| otto-san:
Isn't it just tumble(player, some number);? |
| Giovan:
What should I put in for Player? BlId, "player" and leaving it blank all don't work. |
| otto-san:
function serverCmdTumbleMe(%client) { %player = %client.player; tumble(%player, 1); } try that |
| Giovan:
k, I'm doing this. I snapped this bit of code onto the horse ray (I like the thing, OK?) function TumblerProjectile::Damage(%this,%obj,%col,%fade,%pos,%normal) { %player = %client.player; tumble(%player, 1); } I start a minigame. I use eventing to spawn a projectile that hits me and explodes. I'm not tumbling at all. |
| Navigation |
| Message Index |
| Next page |