Both of these eventhandlers wont do anything when assigned to a static weapon.
Description
Description
Details
Details
- Legacy ID
- 308072304
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- Place down an static weapon.
- add an eventhandler to it, such as -> this addEventHandler ["WeaponDisassembled",{hint "Disassembled";}];
- Disassemble it and no hint is shown.
Event Timeline
Comment Actions
That is because the EH needs to be assigned to the player not the weapon. change this for player and it will work.
Comment Actions
If someone could make this more clear at the wiki I think it would help others in the future.
Link:
https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#WeaponAssembled