[NEEDS INFO] "best weapon-1" bind - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [NEEDS INFO] "best weapon-1" bind (/showthread.php?tid=767) |
"best weapon-1" bind - Rage_ATWM - 08-02-2010 Is there any possibility to bind the access to the weapon which comes just before the bestweapon? Sort of "bestweapon-1" bind. RE: "best weapon-1" bind - Mr. Bougo - 08-03-2010 What about binding "bestweapon;weapprev" or whatever the bestweapon command is...? RE: "best weapon-1" bind - Rage_ATWM - 08-03-2010 does not work With bestweapon;weapprev, only the weapprev is taken into account. Other ideas? RE: "best weapon-1" bind - Mr. Bougo - 08-04-2010 Perhaps "bestweapon; wait; weapprev" RE: "best weapon-1" bind - Rage_ATWM - 08-04-2010 it works better, but not perfectly: when the bind is called, most of the time i get as bestweapon-1, expected. But sometimes, i get first bestweapon and then bestweapon-1, so the global weapon switch is longer. Can we specify an amount of time to wait in the wait command? RE: "best weapon-1" bind - Roanoke - 08-04-2010 defer <seconds> <command> RE: "best weapon-1" bind - Mr. Bougo - 08-07-2010 "wait" waits one frame, I don't think you can make it shorter... Can you try this? "bestweapon; defer 0 weapprev" |