Unfortunately Lua in FF has no access to actual keypresses, so the only real system I can use is the menu system in game.
( Which is the same as the one that mods use - the one that blocks weapon switching - if I remember correctly. :P )
I'll look into an alternative system where rather than using the menu system it uses chat messages. ( I'll probably introduce it with a custom HUD display, say, think of the voting system in Garry's Mod. - Except you can't click the buttons. D: )
Say for instance, you write:
!vote1
!vote2
!vote3
Potentially, the messages can be bound to keys ( say, numpad ) so that you can vote with a single keypress and it doesn't interrupt weapon switching.
I'll look into it further, but the current focus of my system is rating maps more than voting for the next map.
__________________
gg ff not ded
ff very much alive
Last edited by ddm999; 05-10-2014 at 05:08 PM.
|