Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
playing animations by pressing a key on the keyboard
« previous
next »
Print
Pages: [
1
]
Author
Topic: playing animations by pressing a key on the keyboard (Read 852 times)
BlockAlpha
November 15, 2014, 08:39:51 PM
I'm making a new playertype which can do some special animations..
Does it possible to force the player to do some animation by pressing any key on the keyboard
(for example: the jet or light key will do the jump animation)
Can someone give me a code for the option? sorry for my bad english.
«
Last Edit: November 16, 2014, 04:39:48 AM by BlockAlpha
»
Ad Bot
Advertisement
Dannu
November 16, 2014, 05:05:53 AM
You can just check for trigger states. Can't remember for sure what the different states are.
Thorfin25
November 16, 2014, 05:19:41 AM
You can't do it for any key on their keyboard, as most keys are just bound to server commands. You can however overwrite/parent commands, like for the light you just have to do
serverCmdLight(%client)
slimshady
November 17, 2014, 01:03:11 PM
BlockAlpha daber iti ani gam israeli :P
Dannu
November 18, 2014, 11:32:06 AM
Slim, please don't post in foreign languages..
On a completely un-related topic..
In a help section..
You know what, scratch that, you shouldn't post at all for a while until you get a feel for the forums.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
playing animations by pressing a key on the keyboard