First of all: Hello and thanks for taking the time. :)
What I want to do:
I want to run with the knife out and on keystroke throw away every weapon, all my dosh, switch to the 9mm pistol and then issue the suicide command.
Old Idea:
Algorithm:
1. Throw all the cash (which should never be more than 9999).
2. Switch to best weapon which is either the strongest onperk weapon or if there is no onperk weapon the strongest offperk weapon (If you only have the knife and 9mm pistol it will select the pistol).
6. Throw away every throwable weapon until the 9mm pistol is selected.
7. Suicide.
Reasoning for new algorithm:
Problem:
It seems like the switching animation is taking too long and the suicide and throw dosh commands are issued before the switch is complete. When I have the knife out while pressing the key, no weapons will be thrown and the last weapon in my hand is the knife. Therefore it will be dropped instead of the 9mm pistol.
Any idea for a workaround or a better algorithm? Maybe a method to wait for example one second for the next command would solve the problem, but I have not found any.
And yes, I could manually switch to a throwable weapon and then press the key or if I don't have any to the 9mm pistol, but that takes longer. Ideally I want it to do every scenario automatically just by pressing one button.
Any feedback is greatly appreciated!
What I want to do:
I want to run with the knife out and on keystroke throw away every weapon, all my dosh, switch to the 9mm pistol and then issue the suicide command.
Old Idea:
Spoiler!
Algorithm:
1. Throw all the cash (which should never be more than 9999).
2. Switch to best weapon which is either the strongest onperk weapon or if there is no onperk weapon the strongest offperk weapon (If you only have the knife and 9mm pistol it will select the pistol).
6. Throw away every throwable weapon until the 9mm pistol is selected.
7. Suicide.
Code:
<keyhere>=tosscash 9999 | SwitchToBestWeapon | throwweapon | throwweapon | throwweapon | throwweapon | throwweapon | throwweapon | throwweapon | throwweapon | throwweapon | throwweapon | suicide
Reasoning for new algorithm:
Spoiler!
Problem:
It seems like the switching animation is taking too long and the suicide and throw dosh commands are issued before the switch is complete. When I have the knife out while pressing the key, no weapons will be thrown and the last weapon in my hand is the knife. Therefore it will be dropped instead of the 9mm pistol.
Any idea for a workaround or a better algorithm? Maybe a method to wait for example one second for the next command would solve the problem, but I have not found any.
And yes, I could manually switch to a throwable weapon and then press the key or if I don't have any to the 9mm pistol, but that takes longer. Ideally I want it to do every scenario automatically just by pressing one button.
Any feedback is greatly appreciated!
Aucun commentaire:
Enregistrer un commentaire