| Blockland Forums > Modification Help |
| Key Press |
| (1/3) > >> |
| Aware:
I am making a script, and I want to do the function when I press C, i've searched and I have no idea how to do this. I am not making Keybinds. |
| Port:
Use a guiInputCtrl in a GUI. There is probably some more information on the forums, so search around for that. I'm not certain, but RTB might use it somewhere. |
| Aware:
Im not using a GUI. Its for a weapon. I want to change it from right click. I am using --- Code: --- function Armor::onTrigger(%this, %player, %slot, %val) --- End code --- But I dont want it right click, I want it to be C |
| Superb:
moveMap.bindCmd(keyboard,"c","","someCoolFunction();"); |
| Aware:
--- Quote from: Superb on December 12, 2011, 02:39:44 PM ---moveMap.bindCmd(keyboard,"c","","someCoolFunction();"); --- End quote --- And were do I put that? Also, I belive that is Client sided. I want it for a weapon, which is not client sided. |
| Navigation |
| Message Index |
| Next page |