actions_on_button_press 1.0.2

This commit is contained in:
Resxt 2022-02-25 22:52:52 +01:00 committed by GitHub
parent 9cc07ff9a9
commit fd31a6f1ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,10 +7,10 @@ Note that `camera_thirdPerson` is a special case and needs to be changed with `S
* The second button lets the player suicide using the `Suicide()` function. * The second button lets the player suicide using the `Suicide()` function.
If you use `+melee` and the player's melee key is set to V it'll show V on his screen, if he uses another key it'll show his key. If you use `+melee` and the player's melee key is set to V it'll show V on his screen, if he uses another key it'll show his key.
If you want to use another button simply change `level.third_person_button` and/or `level.suicide_button` values and it will update the button pressed to start the function and the text displayed on the player's screen. If you want to use another button simply change `level.third_person_button` and/or `level.suicide_button` values and it will update the button pressed to start the function and the text displayed on the player's screen.
I used actionslot 6 and 7 because (to my knowledge) they are not used by anything else in the game I used actionslot 6 and 7 because (to my knowledge) they are not used by anything else in the game
Here is a non-exhaustive list of buttons you can use Here is a non-exhaustive list of buttons you can use
``` ```
"+usereload" "+usereload"