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)
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the 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: 23
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