both eventhandlers are supposed to return "muzzle" - String. They simply don´t. They always return the weapon name where they shouldn´t. So it´s not possible identify the muzzle the shot was fired with. too bad, cause i need exactly that to check wether a silencer was used or not
Description
Description
Details
Details
- Legacy ID
- 689899817
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
addeventhandler fired or fired near. hint str the muzzle string that should be fetched by those two handlers
Event Timeline
Comment Actions
You can use weaponAccessories command for it
_silencer = player weaponAccessories currentMuzzle player select 0;
hasSilencer = !isNil "_silencer" && {_silencer != ""};
Is this satisfactory?
Comment Actions
Mass-closing all resolved issues not updated in the last month.
Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.