Hello,
Is there a way to check what weapon the player is holding? I need that for my map.
For example:
A player needs to hold an axe to break a barricade (using ActivateTrigger)
This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk
Forum rules
Forum rules
Any way to check what weapon the player is holding?
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Ol1vver
- Superfighter

- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
Thanks, I already figured it out.
Though it didn't work as I expected - instead the code runs if the player is holding anything else than the weapon I want.
Fixed by using "else".
0 x
- Sree
- Superfighter

- Posts: 325
- Joined: Sun May 08, 2016 8:19 pm
- SFD Account: phasmic
- SFD Alias: sree
- Gender:
- Age: 25
If you had any knowledge of the language, You'd know that you could the achieve the same by just making the conditional statement check for false instead of adding an entire else block for it lmao
3 x
