Okay, for my card you need to do this so that the player could not switch over the slots.
The first option that I came up with is to force the script to press the "secondary weapon slot" button once every 100-500 meliseconds so that it selects secondary weapon slot slot.
The second option is simply to prohibit the weapon slot buttons except an secondary weapon slot
Thanks in advance for any help.
[Need help] Only secondary weapon slot
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
Blocking or manipulating user input is NOT something the ScriptAPI can do, what we can do instead is to remove any equipped weapon that doesn't belong to the secondary slot.Hamurlik wrote: ↑Wed Mar 06, 2019 1:30 pmOkay, for my card you need to do this so that the player could not switch over the slots.
The first option that I came up with is to force the script to press the "secondary weapon slot" button once every 100-500 meliseconds so that it selects secondary weapon slot slot.
The second option is simply to prohibit the weapon slot buttons except an secondary weapon slot
Thanks in advance for any help.
0 x